Skip to main content

CredentialAttachLookupResult

Enum CredentialAttachLookupResult 

Source
pub enum CredentialAttachLookupResult<'a, EF> {
    Retired(Retired),
    ParticipantUnknown(ParticipantUnknown),
    StaleAuthority(StaleAuthority),
    AttemptTokenBodyConflict(AttemptTokenBodyConflict),
    Bound(ReceiptReplay),
    UnboundReceipt(ReceiptReplay),
    ReceiptExpired(ReceiptExpired),
    StaleOrUnknownReceipt(StaleOrUnknownReceipt),
    AuthorizedFresh {
        member: &'a LiveMember<EF>,
    },
}
Expand description

Total credential-attach lookup result through authority phase 3.

Variants§

§

Retired(Retired)

An exact token or the presented key resolved to a tombstone.

§

ParticipantUnknown(ParticipantUnknown)

Neither a live identity nor tombstone exists.

§

StaleAuthority(StaleAuthority)

Secret or current-generation authority is stale.

§

AttemptTokenBodyConflict(AttemptTokenBodyConflict)

Verified exact live receipt changed a canonical non-secret field.

§

Bound(ReceiptReplay)

Exact live receipt still names its origin binding.

§

UnboundReceipt(ReceiptReplay)

Exact live receipt no longer names its origin binding.

§

ReceiptExpired(ReceiptExpired)

Exact non-secret provenance remains.

§

StaleOrUnknownReceipt(StaleOrUnknownReceipt)

No verifier remains after provenance.

§

AuthorizedFresh

Fresh live authority passed and attach may run remaining checks.

Fields

§member: &'a LiveMember<EF>

Verified live member; attach itself does not require a binding.

Trait Implementations§

Source§

impl<'a, EF: Clone> Clone for CredentialAttachLookupResult<'a, EF>

Source§

fn clone(&self) -> CredentialAttachLookupResult<'a, EF>

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'a, EF: Debug> Debug for CredentialAttachLookupResult<'a, EF>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'a, EF: Eq> Eq for CredentialAttachLookupResult<'a, EF>

Source§

impl<'a, EF: PartialEq> PartialEq for CredentialAttachLookupResult<'a, EF>

Source§

fn eq(&self, other: &CredentialAttachLookupResult<'a, EF>) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl<'a, EF: PartialEq> StructuralPartialEq for CredentialAttachLookupResult<'a, EF>

Auto Trait Implementations§

§

impl<'a, EF> Freeze for CredentialAttachLookupResult<'a, EF>

§

impl<'a, EF> RefUnwindSafe for CredentialAttachLookupResult<'a, EF>
where EF: RefUnwindSafe,

§

impl<'a, EF> Send for CredentialAttachLookupResult<'a, EF>
where EF: Sync,

§

impl<'a, EF> Sync for CredentialAttachLookupResult<'a, EF>
where EF: Sync,

§

impl<'a, EF> Unpin for CredentialAttachLookupResult<'a, EF>

§

impl<'a, EF> UnsafeUnpin for CredentialAttachLookupResult<'a, EF>

§

impl<'a, EF> UnwindSafe for CredentialAttachLookupResult<'a, EF>
where EF: RefUnwindSafe,

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

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

Source§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.