pub struct AuthKey { /* private fields */ }Expand description
A pre-shared key, reduced to the pair of digests negotiation exchanges.
Constructing one derives both digests and discards the key material, so the secret itself is not retained for the life of the session.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AuthKey
impl RefUnwindSafe for AuthKey
impl Send for AuthKey
impl Sync for AuthKey
impl Unpin for AuthKey
impl UnsafeUnpin for AuthKey
impl UnwindSafe for AuthKey
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