pub struct KeyMaterial {
pub initial_shared_secret: PublicKey,
pub expanded_shared_secrets: Vec<ExpandedSharedSecret>,
}Fields§
Implementations§
Source§impl KeyMaterial
impl KeyMaterial
pub fn derive(route: &[Node], initial_secret: &StaticSecret) -> Self
pub fn derive_legacy(route: &[Node], initial_secret: &StaticSecret) -> Self
👎Deprecated
Auto Trait Implementations§
impl Freeze for KeyMaterial
impl RefUnwindSafe for KeyMaterial
impl Send for KeyMaterial
impl Sync for KeyMaterial
impl Unpin for KeyMaterial
impl UnwindSafe for KeyMaterial
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