Skip to main content

Error

Enum Error 

Source
pub enum Error<SE, PE, D, G> {
    MissingSigner(Span),
    Archive(Error<SE>),
    Source(ReadFailure<SE, D, G>),
    Prepare(CheckError<PE>),
    Pass(PassError<ReadFailure<SE, D, G>, PE>),
}
Expand description

Format framing and common/provider failures retain their independent cause.

Variants§

§

MissingSigner(Span)

One original root SignerInfo has no prepared request. Complete-container execution cannot silently replace it with the selected successful roots.

§

Archive(Error<SE>)

Original archive, generation or current/source-budget refusal.

§

Source(ReadFailure<SE, D, G>)

Original payload framing/decode/CRC failure before or during acquisition.

§

Prepare(CheckError<PE>)

Common batch initialization, preserving callback/resource classification.

§

Pass(PassError<ReadFailure<SE, D, G>, PE>)

Failed complete payload pass. No partial check receipt is returned.

Trait Implementations§

Source§

impl<SE: Debug, PE: Debug, D: Debug, G: Debug> Debug for Error<SE, PE, D, G>

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<SE, PE, D, G> !Freeze for Error<SE, PE, D, G>

§

impl<SE, PE, D, G> RefUnwindSafe for Error<SE, PE, D, G>

§

impl<SE, PE, D, G> Send for Error<SE, PE, D, G>
where Error<SE>: Send, ReadFailure<SE, D, G>: Send, CheckError<PE>: Send, StreamError<ReadFailure<SE, D, G>, CheckError<PE>>: Send,

§

impl<SE, PE, D, G> Sync for Error<SE, PE, D, G>
where Error<SE>: Sync, ReadFailure<SE, D, G>: Sync, CheckError<PE>: Sync, StreamError<ReadFailure<SE, D, G>, CheckError<PE>>: Sync,

§

impl<SE, PE, D, G> Unpin for Error<SE, PE, D, G>
where Error<SE>: Unpin, ReadFailure<SE, D, G>: Unpin, CheckError<PE>: Unpin, StreamError<ReadFailure<SE, D, G>, CheckError<PE>>: Unpin,

§

impl<SE, PE, D, G> UnsafeUnpin for Error<SE, PE, D, G>

§

impl<SE, PE, D, G> UnwindSafe for Error<SE, PE, D, G>

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.