#[non_exhaustive]pub enum PaseMessageKind {
PbkdfParamRequest,
PbkdfParamResponse,
Pake1,
Pake2,
Pake3,
}Expand description
Identifies one of the 5 PASE message types. Used by
crate::Error::UnexpectedMessage and expected_inbound() accessors
on the state machines (added in M3.2).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
PbkdfParamRequest
Commissioner -> verifier, negotiation path.
PbkdfParamResponse
Verifier -> commissioner, negotiation path.
Pake1
Commissioner -> verifier, X point.
Pake2
Verifier -> commissioner, Y point + cB confirmation.
Pake3
Commissioner -> verifier, cA confirmation.
Trait Implementations§
Source§impl Clone for PaseMessageKind
impl Clone for PaseMessageKind
Source§fn clone(&self) -> PaseMessageKind
fn clone(&self) -> PaseMessageKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PaseMessageKind
Source§impl Debug for PaseMessageKind
impl Debug for PaseMessageKind
impl Eq for PaseMessageKind
Source§impl PartialEq for PaseMessageKind
impl PartialEq for PaseMessageKind
impl StructuralPartialEq for PaseMessageKind
Auto Trait Implementations§
impl Freeze for PaseMessageKind
impl RefUnwindSafe for PaseMessageKind
impl Send for PaseMessageKind
impl Sync for PaseMessageKind
impl Unpin for PaseMessageKind
impl UnsafeUnpin for PaseMessageKind
impl UnwindSafe for PaseMessageKind
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