Skip to main content

CreationError

Enum CreationError 

Source
pub enum CreationError<E, PE, N, D, G> {
    Input(InputError<E, N>),
    Processing(CheckError<E, PE, N, D, G>),
    Algorithm {
        method: N,
        answer: Agreement,
    },
    NewAlgorithm(Agreement),
    NewProvider(PE),
    Ineligible {
        reference: N,
    },
    Unchanged {
        reference: N,
    },
}
Expand description

Failure before a complete renewal can be returned or written.

Variants§

§

Input(InputError<E, N>)

Original append-position traversal/source/resource refusal.

§

Processing(CheckError<E, PE, N, D, G>)

Original source, method, provider, traversal or streaming failure.

§

Algorithm

Selected old/new algorithm is unsupported, malformed or prohibited.

Fields

§method: N

Actual offending method.

§answer: Agreement

Completed algorithm classification.

§

NewAlgorithm(Agreement)

Classification of the supplied new parameter-free method, not a source node.

§

NewProvider(PE)

Original construction resolver cause, including deployment/resource refusal.

§

Ineligible

Selected instruction is not an actual successfully checked detached reference.

Fields

§reference: N

Original instruction.

§

Unchanged

New and old semantic digest identities are equal.

Fields

§reference: N

Original instruction whose digest was not strengthened.

Trait Implementations§

Source§

impl<E: Debug, PE: Debug, N: Debug, D: Debug, G: Debug> Debug for CreationError<E, PE, 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, PE, N, D, G> !Freeze for CreationError<E, PE, N, D, G>

§

impl<E, PE, N, D, G> Forget for CreationError<E, PE, N, D, G>

§

impl<E, PE, N, D, G> RefUnwindSafe for CreationError<E, PE, N, D, G>

§

impl<E, PE, N, D, G> Send for CreationError<E, PE, N, D, G>
where InputError<E, N>: Send, CheckError<E, PE, N, D, G>: Send, N: Send, PE: Send,

§

impl<E, PE, N, D, G> Sync for CreationError<E, PE, N, D, G>
where InputError<E, N>: Sync, CheckError<E, PE, N, D, G>: Sync, N: Sync, PE: Sync,

§

impl<E, PE, N, D, G> Unpin for CreationError<E, PE, N, D, G>
where InputError<E, N>: Unpin, CheckError<E, PE, N, D, G>: Unpin, N: Unpin, PE: Unpin,

§

impl<E, PE, N, D, G> UnsafeUnpin for CreationError<E, PE, N, D, G>
where InputError<E, N>: UnsafeUnpin, CheckError<E, PE, N, D, G>: UnsafeUnpin, N: UnsafeUnpin, PE: UnsafeUnpin,

§

impl<E, PE, N, D, G> UnwindSafe for CreationError<E, PE, N, D, G>
where InputError<E, N>: UnwindSafe, CheckError<E, PE, N, D, G>: UnwindSafe, N: UnwindSafe, PE: 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.