pub enum InsertResult<E> {
OldEntry {
clash: Option<E>,
evicted: Option<E>,
},
OldTail {
clash: Option<E>,
evicted: E,
},
Success,
}Variants§
Auto Trait Implementations§
impl<E> Freeze for InsertResult<E>where
E: Freeze,
impl<E> RefUnwindSafe for InsertResult<E>where
E: RefUnwindSafe,
impl<E> Send for InsertResult<E>where
E: Send,
impl<E> Sync for InsertResult<E>where
E: Sync,
impl<E> Unpin for InsertResult<E>where
E: Unpin,
impl<E> UnsafeUnpin for InsertResult<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for InsertResult<E>where
E: 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