pub struct InsertError<const K: usize, const V: usize> {
pub key: [u8; K],
pub value: [u8; V],
}Expand description
A key-value pair rejected because the map was full.
Fields§
§key: [u8; K]The key that could not be inserted.
value: [u8; V]The value that could not be inserted.
Trait Implementations§
impl<const K: usize, const V: usize> Copy for InsertError<K, V>
impl<const K: usize, const V: usize> Eq for InsertError<K, V>
impl<const K: usize, const V: usize> StructuralPartialEq for InsertError<K, V>
Auto Trait Implementations§
impl<const K: usize, const V: usize> Forget for InsertError<K, V>
impl<const K: usize, const V: usize> Freeze for InsertError<K, V>
impl<const K: usize, const V: usize> Move for InsertError<K, V>
impl<const K: usize, const V: usize> RefUnwindSafe for InsertError<K, V>
impl<const K: usize, const V: usize> Send for InsertError<K, V>
impl<const K: usize, const V: usize> Sync for InsertError<K, V>
impl<const K: usize, const V: usize> Unpin for InsertError<K, V>
impl<const K: usize, const V: usize> UnsafeUnpin for InsertError<K, V>
impl<const K: usize, const V: usize> UnwindSafe for InsertError<K, V>
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