Enum charcoal::TryRemoveChildrenError[][src]

pub enum TryRemoveChildrenError {
    WasLeafNode,
    HadBranchChild(u32),
}

The error type returned by methods on trees which remove children branch nodes.

Variants

WasLeafNode

The node a leaf node and thus cannot have children by definition.

HadBranchChild(u32)

One of the node’s children was a branch node, which would require recursion to remove. Contains the index of the offending node; if there were multiple, the smallest index is specified.

Trait Implementations

impl Clone for TryRemoveChildrenError[src]

impl Copy for TryRemoveChildrenError[src]

impl Debug for TryRemoveChildrenError[src]

impl Display for TryRemoveChildrenError[src]

impl Eq for TryRemoveChildrenError[src]

impl Error for TryRemoveChildrenError[src]

This is supported on crate feature std only.

impl Hash for TryRemoveChildrenError[src]

impl PartialEq<TryRemoveChildrenError> for TryRemoveChildrenError[src]

impl StructuralEq for TryRemoveChildrenError[src]

impl StructuralPartialEq for TryRemoveChildrenError[src]

Auto Trait Implementations

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.