pub enum ConsumeOutcome {
NotFound,
Expired,
Found(Box<PendingStepUp>),
}Expand description
Outcome of consuming a pending step-up by challenge.
Variants§
NotFound
No pending step-up matched the challenge (challenge_unknown).
Expired
A match existed but had expired (challenge_expired). The stale
record is removed as a side effect.
Found(Box<PendingStepUp>)
A live match; the record was removed (single-use).
Trait Implementations§
Source§impl Debug for ConsumeOutcome
impl Debug for ConsumeOutcome
Source§impl PartialEq for ConsumeOutcome
impl PartialEq for ConsumeOutcome
impl StructuralPartialEq for ConsumeOutcome
Auto Trait Implementations§
impl Freeze for ConsumeOutcome
impl RefUnwindSafe for ConsumeOutcome
impl Send for ConsumeOutcome
impl Sync for ConsumeOutcome
impl Unpin for ConsumeOutcome
impl UnsafeUnpin for ConsumeOutcome
impl UnwindSafe for ConsumeOutcome
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
Source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
impl<T, U, C> IntoWithContext<U, C> for Twhere
U: FromWithContext<T, C>,
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ResourceProvider<()> for T
impl<T> ResourceProvider<()> for T
Source§fn get_resource(&self) -> &()
fn get_resource(&self) -> &()
Returns a reference to the resource of type
T.