[][src]Enum conventus::AssembleFailure

pub enum AssembleFailure<E> {
    Incomplete,
    Error(E),
}

Describes a failure to assemble a composite from a sequence of parts.

Variants

Incomplete

There were not enough parts.

Error(E)

There was an error with the parts.

Trait Implementations

impl<E: Debug> Debug for AssembleFailure<E>[src]

impl<E> From<E> for AssembleFailure<E>[src]

Converts an E into an AssembleFailure.

impl<E: PartialEq> PartialEq<AssembleFailure<E>> for AssembleFailure<E>[src]

impl<E> StructuralPartialEq for AssembleFailure<E>[src]

Auto Trait Implementations

impl<E> RefUnwindSafe for AssembleFailure<E> where
    E: RefUnwindSafe
[src]

impl<E> Send for AssembleFailure<E> where
    E: Send
[src]

impl<E> Sync for AssembleFailure<E> where
    E: Sync
[src]

impl<E> Unpin for AssembleFailure<E> where
    E: Unpin
[src]

impl<E> UnwindSafe for AssembleFailure<E> where
    E: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<P, C> AssembleInto<C> for P where
    C: AssembleFrom<P>, 
[src]

type Error = <C as AssembleFrom<P>>::Error

Describes an error with the parts. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<P, C> DisassembleInto<P> for C where
    P: DisassembleFrom<C>, 
[src]

type Error = <P as DisassembleFrom<C>>::Error

Describes an error that prevents disassembly.

impl<T> From<!> for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.