pub enum InsRes {
Ok(Option<usize>),
ZeroLen,
}
Expand description
Insertion result enumeration.
Variants§
Ok(Option<usize>)
Insertion accomplished. Optionally carries previous value, based on its existence.
ZeroLen
Attempt to insert zero occurrent.
Trait Implementations§
impl Eq for InsRes
impl StructuralPartialEq for InsRes
Auto Trait Implementations§
impl Freeze for InsRes
impl RefUnwindSafe for InsRes
impl Send for InsRes
impl Sync for InsRes
impl Unpin for InsRes
impl UnwindSafe for InsRes
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