pub struct SharedKeys<E: Scalar, G: GroupElement<E>> {
pub alpha: GenericArray<u8, G::AlphaLen>,
pub secrets: Vec<SharedSecret>,
/* private fields */
}Expand description
Structure containing shared keys for peers using the Sphinx algorithm.
Fields§
§alpha: GenericArray<u8, G::AlphaLen>§secrets: Vec<SharedSecret>Auto Trait Implementations§
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more