#[repr(u8)]pub enum BTreeTryCloneError {
KeyCloningError = 1,
ValueCloningError = 2,
OtherError = 3,
}Expand description
Represents possible errors when trying to clone a BTree.
Variants§
KeyCloningError = 1
The key cloning failed.
ValueCloningError = 2
The value cloning failed.
OtherError = 3
Other error. Either due to allocator failure or other unexpected error.
Trait Implementations§
Source§impl Clone for BTreeTryCloneError
impl Clone for BTreeTryCloneError
Source§fn clone(&self) -> BTreeTryCloneError
fn clone(&self) -> BTreeTryCloneError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BTreeTryCloneError
Source§impl Debug for BTreeTryCloneError
impl Debug for BTreeTryCloneError
Source§impl Display for BTreeTryCloneError
impl Display for BTreeTryCloneError
impl Eq for BTreeTryCloneError
Source§impl From<Infallible> for BTreeTryCloneError
impl From<Infallible> for BTreeTryCloneError
Source§fn from(_: Infallible) -> Self
fn from(_: Infallible) -> Self
Converts to this type from the input type.
Source§impl Hash for BTreeTryCloneError
impl Hash for BTreeTryCloneError
Source§impl PartialEq for BTreeTryCloneError
impl PartialEq for BTreeTryCloneError
Source§fn eq(&self, other: &BTreeTryCloneError) -> bool
fn eq(&self, other: &BTreeTryCloneError) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ReprC for BTreeTryCloneError
impl ReprC for BTreeTryCloneError
impl StructuralPartialEq for BTreeTryCloneError
Auto Trait Implementations§
impl Freeze for BTreeTryCloneError
impl RefUnwindSafe for BTreeTryCloneError
impl Send for BTreeTryCloneError
impl Sync for BTreeTryCloneError
impl Unpin for BTreeTryCloneError
impl UnsafeUnpin for BTreeTryCloneError
impl UnwindSafe for BTreeTryCloneError
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