pub enum InsertError {
KeyTooLarge {
given: usize,
max: usize,
},
ValueTooLarge {
given: usize,
max: usize,
},
}
Expand description
An error returned when inserting entries into the map.
Variants
KeyTooLarge
ValueTooLarge
Trait Implementations
sourceimpl Debug for InsertError
impl Debug for InsertError
sourceimpl Display for InsertError
impl Display for InsertError
sourceimpl PartialEq<InsertError> for InsertError
impl PartialEq<InsertError> for InsertError
sourcefn eq(&self, other: &InsertError) -> bool
fn eq(&self, other: &InsertError) -> bool
impl Eq for InsertError
impl StructuralEq for InsertError
impl StructuralPartialEq for InsertError
Auto Trait Implementations
impl RefUnwindSafe for InsertError
impl Send for InsertError
impl Sync for InsertError
impl Unpin for InsertError
impl UnwindSafe for InsertError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more