[−][src]Enum conventus::AssembleFailure
Describes a failure to assemble a composite from a sequence of parts.
Variants
There were not enough parts.
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]
pub fn eq(&self, other: &AssembleFailure<E>) -> bool
[src]
pub fn ne(&self, other: &AssembleFailure<E>) -> bool
[src]
impl<E> StructuralPartialEq for AssembleFailure<E>
[src]
Auto Trait Implementations
impl<E> RefUnwindSafe for AssembleFailure<E> where
E: RefUnwindSafe,
[src]
E: RefUnwindSafe,
impl<E> Send for AssembleFailure<E> where
E: Send,
[src]
E: Send,
impl<E> Sync for AssembleFailure<E> where
E: Sync,
[src]
E: Sync,
impl<E> Unpin for AssembleFailure<E> where
E: Unpin,
[src]
E: Unpin,
impl<E> UnwindSafe for AssembleFailure<E> where
E: UnwindSafe,
[src]
E: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<P, C> AssembleInto<C> for P where
C: AssembleFrom<P>,
[src]
C: AssembleFrom<P>,
type Error = <C as AssembleFrom<P>>::Error
Describes an error with the parts. Read more
pub fn assemble_into(
&mut Vec<P, Global>
) -> Result<C, AssembleFailure<<P as AssembleInto<C>>::Error>>
[src]
&mut Vec<P, Global>
) -> Result<C, AssembleFailure<<P as AssembleInto<C>>::Error>>
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<P, C> DisassembleInto<P> for C where
P: DisassembleFrom<C>,
[src]
P: DisassembleFrom<C>,
type Error = <P as DisassembleFrom<C>>::Error
Describes an error that prevents disassembly.
pub fn disassemble_into(
Self
) -> Result<Vec<P, Global>, <C as DisassembleInto<P>>::Error>
[src]
Self
) -> Result<Vec<P, Global>, <C as DisassembleInto<P>>::Error>
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]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,