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<InsertError> for InsertError
impl PartialEq<InsertError> for InsertError
source§fn eq(&self, other: &InsertError) -> bool
fn eq(&self, other: &InsertError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.