pub enum TreeError {
DataError(DataError),
NodeError(NodeError),
DepthTooLarge(usize, usize),
KeyError(KeyError),
}
Expand description
Errors associated with the tree. These errors are returned by the tree methods and wrap errors returned by the underlying components, these include:
- DataError - errors associated with the underlying data the tree is built on
- NodeError - errors associated with the nodes in the tree
- DepthTooLarge - error returned when the specified tree depth is too large
- KeyError - error associated with the key used to access the tree
Variants§
Trait Implementations§
impl Eq for TreeError
impl StructuralPartialEq for TreeError
Auto Trait Implementations§
impl Freeze for TreeError
impl RefUnwindSafe for TreeError
impl Send for TreeError
impl Sync for TreeError
impl Unpin for TreeError
impl UnwindSafe for TreeError
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