Enum charcoal::TryRemoveChildrenError [−][src]
The error type returned by methods on trees which remove children branch nodes.
Variants
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]
fn clone(&self) -> TryRemoveChildrenError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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.pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl Hash for TryRemoveChildrenError
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<TryRemoveChildrenError> for TryRemoveChildrenError
[src]
fn eq(&self, other: &TryRemoveChildrenError) -> bool
[src]
fn ne(&self, other: &TryRemoveChildrenError) -> bool
[src]
impl StructuralEq for TryRemoveChildrenError
[src]
impl StructuralPartialEq for TryRemoveChildrenError
[src]
Auto Trait Implementations
impl RefUnwindSafe for TryRemoveChildrenError
impl Send for TryRemoveChildrenError
impl Sync for TryRemoveChildrenError
impl Unpin for TryRemoveChildrenError
impl UnwindSafe for TryRemoveChildrenError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
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<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Slottable for T where
T: Copy,
[src]
T: Copy,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,