pub enum PskCategory {
LongTerm,
Pairing,
Sentinel,
}Expand description
Category of a pre-shared key, as the server announces it in Noise message 1.
Variants§
LongTerm
Long-term pairing key.
Pairing
Key for one pairing attempt.
Sentinel
The published key that authenticates nothing.
Trait Implementations§
Source§impl Clone for PskCategory
impl Clone for PskCategory
impl Copy for PskCategory
Source§impl Debug for PskCategory
impl Debug for PskCategory
impl Eq for PskCategory
Source§impl PartialEq for PskCategory
impl PartialEq for PskCategory
impl StructuralPartialEq for PskCategory
Auto Trait Implementations§
impl Forget for PskCategory
impl Freeze for PskCategory
impl Move for PskCategory
impl RefUnwindSafe for PskCategory
impl Send for PskCategory
impl Sync for PskCategory
impl Unpin for PskCategory
impl UnsafeUnpin for PskCategory
impl UnwindSafe for PskCategory
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