pub struct InsertionError<T, S: Storage<T>> {
pub item: T,
pub child_offset: usize,
pub child_id: S::Node,
}Expand description
Error returned when a direct insertion by key in the internal node failed.
Fields§
§item: TInserted key.
child_offset: usizeOffset of the child in which the key should be inserted instead.
child_id: S::NodeId of the child in which the key should be inserted instead.
Auto Trait Implementations§
impl<T, S> Freeze for InsertionError<T, S>
impl<T, S> RefUnwindSafe for InsertionError<T, S>
impl<T, S> Send for InsertionError<T, S>
impl<T, S> Sync for InsertionError<T, S>
impl<T, S> Unpin for InsertionError<T, S>
impl<T, S> UnsafeUnpin for InsertionError<T, S>
impl<T, S> UnwindSafe for InsertionError<T, S>
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