Skip to main content

DependencyError

Enum DependencyError 

Source
pub enum DependencyError<N, E, P> {
    Processing {
        node: N,
        cause: E,
    },
    Resource {
        node: N,
        cause: MemoryError,
    },
    Provider {
        node: N,
        cause: P,
    },
    CallbackProtocol {
        node: N,
    },
}
Expand description

Refusal terminates the visit without returning a successful prefix.

Variants§

§

Processing

Exact-artifact/source/coverage resolver refused.

Fields

§node: N

Actual original credential.

§cause: E

Original resolver cause.

§

Resource

Current work or retained report capacity refused before use.

Fields

§node: N

Actual original credential.

§cause: MemoryError

Original resource cause.

§

Provider

The format owner refused with its opaque original cause.

Fields

§node: N

Actual original credential.

§cause: P

Original provider cause.

§

CallbackProtocol

A visitor refusal was returned without an actual refused observation.

Fields

§node: N

Actual original credential.

Trait Implementations§

Source§

impl<N: Debug, E: Debug, P: Debug> Debug for DependencyError<N, E, P>

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl<N, E, P> Freeze for DependencyError<N, E, P>
where N: Freeze, E: Freeze, P: Freeze,

§

impl<N, E, P> RefUnwindSafe for DependencyError<N, E, P>

§

impl<N, E, P> Send for DependencyError<N, E, P>
where N: Send, E: Send, P: Send,

§

impl<N, E, P> Sync for DependencyError<N, E, P>
where N: Sync, E: Sync, P: Sync,

§

impl<N, E, P> Unpin for DependencyError<N, E, P>
where N: Unpin, E: Unpin, P: Unpin,

§

impl<N, E, P> UnsafeUnpin for DependencyError<N, E, P>

§

impl<N, E, P> UnwindSafe for DependencyError<N, E, P>
where N: UnwindSafe, E: UnwindSafe, P: 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.