Struct blart::InsertResult
source · pub struct InsertResult<K, V> {
pub existing_leaf: Option<LeafNode<K, V>>,
pub new_root: OpaqueNodePtr<K, V>,
}
Expand description
The results of a successful tree insert
Fields§
§existing_leaf: Option<LeafNode<K, V>>
The existing leaf referenced by the insert key, if present
new_root: OpaqueNodePtr<K, V>
The new tree root after the successful insert
Trait Implementations§
Auto Trait Implementations§
impl<K, V> RefUnwindSafe for InsertResult<K, V>where K: RefUnwindSafe, V: RefUnwindSafe,
impl<K, V> !Send for InsertResult<K, V>
impl<K, V> !Sync for InsertResult<K, V>
impl<K, V> Unpin for InsertResult<K, V>where K: Unpin, V: Unpin,
impl<K, V> UnwindSafe for InsertResult<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