pub struct Sealer { /* private fields */ }Expand description
Seals what one side sends one way. Each message gets the next number; with the sender’s random ID, it makes the nonce, which is so never used twice with the key.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Sealer
impl Freeze for Sealer
impl Move for Sealer
impl RefUnwindSafe for Sealer
impl Send for Sealer
impl Sync for Sealer
impl Unpin for Sealer
impl UnsafeUnpin for Sealer
impl UnwindSafe for Sealer
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