pub struct InsertionError<K, V> {
pub key: K,
pub value: V,
pub child_offset: usize,
pub child_id: usize,
}Expand description
Error returned when a direct insertion by key in the internal node failed.
Fields§
§key: KInserted key.
value: VInserted value.
child_offset: usizeOffset of the child in which the key should be inserted instead.
child_id: usizeId of the child in which the key should be inserted instead.
Auto Trait Implementations§
impl<K, V> Freeze for InsertionError<K, V>
impl<K, V> RefUnwindSafe for InsertionError<K, V>where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<K, V> Send for InsertionError<K, V>
impl<K, V> Sync for InsertionError<K, V>
impl<K, V> Unpin for InsertionError<K, V>
impl<K, V> UnwindSafe for InsertionError<K, V>where
K: UnwindSafe,
V: UnwindSafe,
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