Skip to main content

Outcome

Enum Outcome 

Source
pub enum Outcome<'path, 'document, E> {
    Authentication(Authentication<'path, 'document, E>),
    Absent,
    MissingAuthorities(E),
}
Expand description

Completed credential answer retained even when no complete census exists.

Variants§

§

Authentication(Authentication<'path, 'document, E>)

Concrete original authentication outcome (including negative answers).

§

Absent

The open schema carries no payload; this cannot become authenticated.

§

MissingAuthorities(E)

Empty Paths is incomplete handler evidence, not certificate-free.

Auto Trait Implementations§

§

impl<'path, 'document, E> !RefUnwindSafe for Outcome<'path, 'document, E>

§

impl<'path, 'document, E> !Send for Outcome<'path, 'document, E>

§

impl<'path, 'document, E> !Sync for Outcome<'path, 'document, E>

§

impl<'path, 'document, E> !UnwindSafe for Outcome<'path, 'document, E>

§

impl<'path, 'document, E> Freeze for Outcome<'path, 'document, E>
where Authentication<'path, 'document, E>: Freeze, E: Freeze,

§

impl<'path, 'document, E> Unpin for Outcome<'path, 'document, E>
where Authentication<'path, 'document, E>: Unpin, E: Unpin,

§

impl<'path, 'document, E> UnsafeUnpin for Outcome<'path, 'document, E>
where Authentication<'path, 'document, E>: UnsafeUnpin, E: UnsafeUnpin,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.