pub struct Psk { /* private fields */ }
Expand description
Pre-shared Key consisting of a WrapKey
and a custom sequence of check bytes. These
check bytes are used in the handshake by the server to ensure that decryption of the
the transmitted key occurred properly.
Implementations§
Trait Implementations§
Source§impl FromStr for Psk
The actual string processing part. Make sure to zero the source string lest keys linger
in memory.
impl FromStr for Psk
The actual string processing part. Make sure to zero the source string lest keys linger in memory.
impl Eq for Psk
impl StructuralPartialEq for Psk
Auto Trait Implementations§
impl Freeze for Psk
impl RefUnwindSafe for Psk
impl Send for Psk
impl Sync for Psk
impl Unpin for Psk
impl UnwindSafe for Psk
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