Struct charcoal::MakeBranchError[][src]

pub struct MakeBranchError<L, P> where
    P: IntoIterator<Item = L>, 
{ pub packed_children: P, }

The error type returned by methods on trees which convert leaf nodes into branch nodes, which occurs when the node which was attempted to be converted already is a branch node.

Fields

packed_children: P

The packed children which were passed to the function and were deemed useless because the call failed, provided here so that they don’t get dropped if they could instead be reused in the event of a failure.

Trait Implementations

impl<L: Clone, P: Clone> Clone for MakeBranchError<L, P> where
    P: IntoIterator<Item = L>, 
[src]

impl<L: Copy, P: Copy> Copy for MakeBranchError<L, P> where
    P: IntoIterator<Item = L>, 
[src]

impl<L: Debug, P: Debug> Debug for MakeBranchError<L, P> where
    P: IntoIterator<Item = L>, 
[src]

impl<L, P> Display for MakeBranchError<L, P> where
    P: IntoIterator<Item = L>, 
[src]

impl<L, P> Error for MakeBranchError<L, P> where
    L: Debug,
    P: IntoIterator<Item = L> + Debug
[src]

This is supported on crate feature std only.

Auto Trait Implementations

impl<L, P> RefUnwindSafe for MakeBranchError<L, P> where
    P: RefUnwindSafe

impl<L, P> Send for MakeBranchError<L, P> where
    P: Send

impl<L, P> Sync for MakeBranchError<L, P> where
    P: Sync

impl<L, P> Unpin for MakeBranchError<L, P> where
    P: Unpin

impl<L, P> UnwindSafe for MakeBranchError<L, P> where
    P: UnwindSafe

Blanket Implementations

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

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

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

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

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

impl<T> Slottable for T where
    T: Copy
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.