#[non_exhaustive]pub enum CaseMessageKind {
Sigma1,
Sigma2,
Sigma3,
Sigma2Resume,
Sigma3Resume,
}Expand description
Identifies one of the 5 CASE message types. Used by
crate::Error::UnexpectedMessage and expected_inbound() accessors
on the state machines.
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.
Sigma1
The first CASE message sent by the initiator (new-session path).
Sigma2
The responder’s reply to Sigma1 (new-session path).
Sigma3
The initiator’s final message completing the handshake (new-session path).
Sigma2Resume
Resumption response (M4.2).
Sigma3Resume
Resumption finish (M4.2).
Trait Implementations§
Source§impl Clone for CaseMessageKind
impl Clone for CaseMessageKind
Source§fn clone(&self) -> CaseMessageKind
fn clone(&self) -> CaseMessageKind
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 CaseMessageKind
Source§impl Debug for CaseMessageKind
impl Debug for CaseMessageKind
impl Eq for CaseMessageKind
Source§impl PartialEq for CaseMessageKind
impl PartialEq for CaseMessageKind
impl StructuralPartialEq for CaseMessageKind
Auto Trait Implementations§
impl Freeze for CaseMessageKind
impl RefUnwindSafe for CaseMessageKind
impl Send for CaseMessageKind
impl Sync for CaseMessageKind
impl Unpin for CaseMessageKind
impl UnsafeUnpin for CaseMessageKind
impl UnwindSafe for CaseMessageKind
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