pub enum ReductionError<T> {
EmptyLeafSet,
IrreducibleTree,
LeafNotFound(T),
}
Expand description
Reduction failure
Variants§
EmptyLeafSet
No leaves specified for reduction.
IrreducibleTree
The tree cannot be reduced.
LeafNotFound(T)
Leaf not found in the tree.
Trait Implementations§
Source§impl<T: Clone> Clone for ReductionError<T>
impl<T: Clone> Clone for ReductionError<T>
Source§fn clone(&self) -> ReductionError<T>
fn clone(&self) -> ReductionError<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: Debug> Debug for ReductionError<T>
impl<T: Debug> Debug for ReductionError<T>
Source§impl<T: PartialEq> PartialEq for ReductionError<T>
impl<T: PartialEq> PartialEq for ReductionError<T>
impl<T: Eq> Eq for ReductionError<T>
impl<T> StructuralPartialEq for ReductionError<T>
Auto Trait Implementations§
impl<T> Freeze for ReductionError<T>where
T: Freeze,
impl<T> RefUnwindSafe for ReductionError<T>where
T: RefUnwindSafe,
impl<T> Send for ReductionError<T>where
T: Send,
impl<T> Sync for ReductionError<T>where
T: Sync,
impl<T> Unpin for ReductionError<T>where
T: Unpin,
impl<T> UnwindSafe for ReductionError<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more