pub enum Sigma1Outcome {
NewSession,
ResumptionRequested {
id: ResumptionId,
},
}Expand description
Outcome of processing a Sigma1 message.
On ResumptionRequested, the caller looks up the corresponding
ResumptionRecord in their session store and calls either
accept_resumption(record) or reject_resumption() on the
CaseResponder. (Resumption flow lands in M4.2.)
Variants§
NewSession
Initiator wants a fresh CASE session.
ResumptionRequested
Initiator wants to resume a previous session by ID.
Fields
§
id: ResumptionIdThe resumption ID the initiator presented.
Trait Implementations§
Source§impl Clone for Sigma1Outcome
impl Clone for Sigma1Outcome
Source§fn clone(&self) -> Sigma1Outcome
fn clone(&self) -> Sigma1Outcome
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 moreSource§impl Debug for Sigma1Outcome
impl Debug for Sigma1Outcome
impl Eq for Sigma1Outcome
Source§impl PartialEq for Sigma1Outcome
impl PartialEq for Sigma1Outcome
impl StructuralPartialEq for Sigma1Outcome
Auto Trait Implementations§
impl Freeze for Sigma1Outcome
impl RefUnwindSafe for Sigma1Outcome
impl Send for Sigma1Outcome
impl Sync for Sigma1Outcome
impl Unpin for Sigma1Outcome
impl UnsafeUnpin for Sigma1Outcome
impl UnwindSafe for Sigma1Outcome
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