Struct blart::InsertPrefixError
source · pub struct InsertPrefixError {
pub byte_repr: Box<[u8]>,
}
Expand description
Attempted to insert a key which was a prefix of an existing key in the tree.
Fields§
§byte_repr: Box<[u8]>
The key that was the input to the insert_unchecked
operation
Trait Implementations§
source§impl Clone for InsertPrefixError
impl Clone for InsertPrefixError
source§fn clone(&self) -> InsertPrefixError
fn clone(&self) -> InsertPrefixError
Returns a copy 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 Debug for InsertPrefixError
impl Debug for InsertPrefixError
source§impl Display for InsertPrefixError
impl Display for InsertPrefixError
source§impl Error for InsertPrefixError
impl Error for InsertPrefixError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq<InsertPrefixError> for InsertPrefixError
impl PartialEq<InsertPrefixError> for InsertPrefixError
source§fn eq(&self, other: &InsertPrefixError) -> bool
fn eq(&self, other: &InsertPrefixError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for InsertPrefixError
impl StructuralEq for InsertPrefixError
impl StructuralPartialEq for InsertPrefixError
Auto Trait Implementations§
impl RefUnwindSafe for InsertPrefixError
impl Send for InsertPrefixError
impl Sync for InsertPrefixError
impl Unpin for InsertPrefixError
impl UnwindSafe for InsertPrefixError
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