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§
Trait Implementations§
Source§impl Debug for InsertError
impl Debug for InsertError
Source§impl Display for InsertError
impl Display for InsertError
Source§impl PartialEq for InsertError
impl PartialEq for InsertError
impl Eq for InsertError
impl StructuralPartialEq for InsertError
Auto Trait Implementations§
impl Freeze for InsertError
impl RefUnwindSafe for InsertError
impl Send for InsertError
impl Sync for InsertError
impl Unpin for InsertError
impl UnwindSafe for InsertError
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