Skip to main content

Error

Enum Error 

Source
pub enum Error<E, PE, N> {
    Foreign {
        signature: N,
    },
    Access(AccessError<E, N>),
    Unsupported {
        node: N,
    },
    Rejected {
        node: N,
    },
    MissingAuthorities {
        node: N,
    },
    Provider {
        node: N,
        cause: PE,
    },
    Resource {
        node: N,
        cause: MemoryError,
    },
}
Expand description

Refusal does not return a successfully checked credential prefix.

Variants§

§

Foreign

Caller supplied a complete counter set from another selected signature.

Fields

§signature: N

Original root signature expected by this operation.

§

Access(AccessError<E, N>)

Original source/generation or operation refused.

§

Unsupported

The selected original format is unsupported, not absent or authenticated.

Fields

§node: N

Original credential payload.

§

Rejected

Completed original credential authentication was negative.

Fields

§node: N

Original credential payload.

§

MissingAuthorities

A handler selected certificate paths but returned an empty set. Direct anchors and certificate-free formats require their explicit arms; this is incomplete provider evidence, not bad XML.

Fields

§node: N

Original credential payload.

§

Provider

Original provider failure with its credential source retained.

Fields

§node: N

Original credential payload.

§cause: PE

Unchanged provider/resource cause.

§

Resource

Retained catalogue storage/copy work was not admitted.

Fields

§node: N

Original credential payload or catalogue for empty input.

§cause: MemoryError

Actual memory/work refusal.

Trait Implementations§

Source§

impl<E: Debug, PE: Debug, N: Debug> Debug for Error<E, PE, N>

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<E, PE, N> Forget for Error<E, PE, N>

§

impl<E, PE, N> Freeze for Error<E, PE, N>
where N: Freeze, AccessError<E, N>: Freeze, PE: Freeze,

§

impl<E, PE, N> RefUnwindSafe for Error<E, PE, N>

§

impl<E, PE, N> Send for Error<E, PE, N>
where N: Send, AccessError<E, N>: Send, PE: Send,

§

impl<E, PE, N> Sync for Error<E, PE, N>
where N: Sync, AccessError<E, N>: Sync, PE: Sync,

§

impl<E, PE, N> Unpin for Error<E, PE, N>
where N: Unpin, AccessError<E, N>: Unpin, PE: Unpin,

§

impl<E, PE, N> UnsafeUnpin for Error<E, PE, N>

§

impl<E, PE, N> UnwindSafe for Error<E, PE, N>

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.