pub struct SessionKeys {
pub shared_secret: Vec<u8>,
pub control_key: [u8; 32],
pub stream_key: [u8; 32],
}Expand description
Derived session key material.
Fields§
§control_key: [u8; 32]§stream_key: [u8; 32]Trait Implementations§
Source§impl Clone for SessionKeys
impl Clone for SessionKeys
Source§fn clone(&self) -> SessionKeys
fn clone(&self) -> SessionKeys
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SessionKeys
impl RefUnwindSafe for SessionKeys
impl Send for SessionKeys
impl Sync for SessionKeys
impl Unpin for SessionKeys
impl UnwindSafe for SessionKeys
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