pub struct SessionMacKey(/* private fields */);Expand description
Session MAC key (K24), separate from the mutable-region key.
Implementations§
Source§impl SessionMacKey
impl SessionMacKey
Sourcepub fn from_bytes(bytes: [u8; 32]) -> Self
pub fn from_bytes(bytes: [u8; 32]) -> Self
Take ownership of existing bytes.
Trait Implementations§
Source§impl Clone for SessionMacKey
impl Clone for SessionMacKey
Source§impl Debug for SessionMacKey
impl Debug for SessionMacKey
Source§impl Drop for SessionMacKey
impl Drop for SessionMacKey
Auto Trait Implementations§
impl Freeze for SessionMacKey
impl RefUnwindSafe for SessionMacKey
impl Send for SessionMacKey
impl Sync for SessionMacKey
impl Unpin for SessionMacKey
impl UnsafeUnpin for SessionMacKey
impl UnwindSafe for SessionMacKey
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