Skip to main content

CheckError

Enum CheckError 

Source
pub enum CheckError<N, A> {
    Processing(Error),
    Native(N),
    Alternative(A),
}
Expand description

Processing and independent callback errors keep their original causes.

Variants§

§

Processing(Error)

Located processing/resource refusal.

§

Native(N)

Native verifier failed to execute.

§

Alternative(A)

Alternative verifier failed to execute.

Trait Implementations§

Source§

impl<N: Debug, A: Debug> Debug for CheckError<N, A>

Source§

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

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

impl<N: Display, A: Display> Display for CheckError<N, A>

Source§

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

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

impl<N, A> From<Error> for CheckError<N, A>

Source§

fn from(error: Error) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl<N, A> Freeze for CheckError<N, A>
where N: Freeze, A: Freeze,

§

impl<N, A> RefUnwindSafe for CheckError<N, A>

§

impl<N, A> Send for CheckError<N, A>
where N: Send, A: Send,

§

impl<N, A> Sync for CheckError<N, A>
where N: Sync, A: Sync,

§

impl<N, A> Unpin for CheckError<N, A>
where N: Unpin, A: Unpin,

§

impl<N, A> UnsafeUnpin for CheckError<N, A>
where N: UnsafeUnpin, A: UnsafeUnpin,

§

impl<N, A> UnwindSafe for CheckError<N, A>
where N: UnwindSafe, A: 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> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
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.