pub enum CheckOutcome<In, Out> {
Pass(In),
Reject(Out),
}Expand description
Outcome of a check: either admitted (pass through to inner) or rejected (short-circuit with a pre-built output).
Variants§
Auto Trait Implementations§
impl<In, Out> Freeze for CheckOutcome<In, Out>
impl<In, Out> RefUnwindSafe for CheckOutcome<In, Out>where
In: RefUnwindSafe,
Out: RefUnwindSafe,
impl<In, Out> Send for CheckOutcome<In, Out>
impl<In, Out> Sync for CheckOutcome<In, Out>
impl<In, Out> Unpin for CheckOutcome<In, Out>
impl<In, Out> UnsafeUnpin for CheckOutcome<In, Out>where
In: UnsafeUnpin,
Out: UnsafeUnpin,
impl<In, Out> UnwindSafe for CheckOutcome<In, Out>where
In: UnwindSafe,
Out: UnwindSafe,
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