Skip to main content

BasicError

Enum BasicError 

Source
pub enum BasicError<E, N, D, G> {
    Foreign {
        signature: N,
    },
    Access(AccessError<E, N>),
    Attributes(Error<E, N>),
    Inclusion(Error<E, InclusionError, N, D, G>),
    Hint(Error<E, IssuerError<Infallible>, N, D, G>),
    Resource {
        node: N,
        cause: MemoryError,
    },
}
Expand description

Original refusal at its actual processing boundary, never a negative key or certificate comparison and never a successful partial basic report.

Variants§

§

Foreign

Receipts belong to a different source/selection/catalogue/counter set.

Fields

§signature: N

Original selected root.

§

Access(AccessError<E, N>)

Original live-source/current-operation refusal.

§

Attributes(Error<E, N>)

Original counter attribute/scalar/source refusal.

§

Inclusion(Error<E, InclusionError, N, D, G>)

Exact original certificate-inclusion binary/metadata refusal.

§

Hint(Error<E, IssuerError<Infallible>, N, D, G>)

Original optional hint’s decoding/DER/schema/callback refusal.

§

Resource

Metadata/retained-catalogue admission failed before work.

Fields

§node: N

Original selecting node.

§cause: MemoryError

Exact resource cause.

Trait Implementations§

Source§

impl<E: Debug, N: Debug, D: Debug, G: Debug> Debug for BasicError<E, N, D, G>

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<E, N, D, G> !Freeze for BasicError<E, N, D, G>

§

impl<E, N, D, G> Forget for BasicError<E, N, D, G>

§

impl<E, N, D, G> RefUnwindSafe for BasicError<E, N, D, G>

§

impl<E, N, D, G> Send for BasicError<E, N, D, G>
where N: Send, AccessError<E, N>: Send, Error<E, N>: Send, Error<E, InclusionError, N, D, G>: Send, Error<E, IssuerError<!>, N, D, G>: Send,

§

impl<E, N, D, G> Sync for BasicError<E, N, D, G>
where N: Sync, AccessError<E, N>: Sync, Error<E, N>: Sync, Error<E, InclusionError, N, D, G>: Sync, Error<E, IssuerError<!>, N, D, G>: Sync,

§

impl<E, N, D, G> Unpin for BasicError<E, N, D, G>
where N: Unpin, AccessError<E, N>: Unpin, Error<E, N>: Unpin, Error<E, InclusionError, N, D, G>: Unpin, Error<E, IssuerError<!>, N, D, G>: Unpin,

§

impl<E, N, D, G> UnsafeUnpin for BasicError<E, N, D, G>

§

impl<E, N, D, G> UnwindSafe for BasicError<E, N, D, G>
where N: UnwindSafe, AccessError<E, N>: UnwindSafe, Error<E, N>: UnwindSafe, Error<E, InclusionError, N, D, G>: UnwindSafe, Error<E, IssuerError<!>, N, D, G>: UnwindSafe,

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.