pub enum Removed<T> {
Removed(T),
Referenced(Arc<T>),
Invalidated,
}
Variants§
Removed(T)
Value was fully removed and unshelled
Referenced(Arc<T>)
Value was fully removed, but could not be unshelled (still referenced?)
Invalidated
Value had previously been returned from a get
call and can no longer be removed.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Removed<T>where
T: Freeze,
impl<T> RefUnwindSafe for Removed<T>where
T: RefUnwindSafe,
impl<T> Send for Removed<T>
impl<T> Sync for Removed<T>
impl<T> Unpin for Removed<T>where
T: Unpin,
impl<T> UnwindSafe for Removed<T>where
T: UnwindSafe + RefUnwindSafe,
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