Struct charcoal::MakeBranchError [−][src]
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]
P: IntoIterator<Item = L>,
fn clone(&self) -> MakeBranchError<L, P>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<L: Copy, P: Copy> Copy for MakeBranchError<L, P> where
P: IntoIterator<Item = L>,
[src]
P: IntoIterator<Item = L>,
impl<L: Debug, P: Debug> Debug for MakeBranchError<L, P> where
P: IntoIterator<Item = L>,
[src]
P: IntoIterator<Item = L>,
impl<L, P> Display for MakeBranchError<L, P> where
P: IntoIterator<Item = L>,
[src]
P: IntoIterator<Item = L>,
impl<L, P> Error for MakeBranchError<L, P> where
L: Debug,
P: IntoIterator<Item = L> + Debug,
[src]
L: Debug,
P: IntoIterator<Item = L> + Debug,
This is supported on crate feature
std
only.Auto Trait Implementations
impl<L, P> RefUnwindSafe for MakeBranchError<L, P> where
P: RefUnwindSafe,
P: RefUnwindSafe,
impl<L, P> Send for MakeBranchError<L, P> where
P: Send,
P: Send,
impl<L, P> Sync for MakeBranchError<L, P> where
P: Sync,
P: Sync,
impl<L, P> Unpin for MakeBranchError<L, P> where
P: Unpin,
P: Unpin,
impl<L, P> UnwindSafe for MakeBranchError<L, P> where
P: UnwindSafe,
P: UnwindSafe,
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>,