pub enum Remove<'g, K, V, S>{
Absent,
Success {
old: Owned<'g, K, V, S>,
},
Break {
old: Shared<'g, K, V, S>,
},
}Expand description
Outcome of a call to ConcurrentMap::remove_with.
Variants§
Absent
Key was not present.
Success
Value was successfully removed.
Break
Closure returned core::ops::ControlFlow::Break.
Auto Trait Implementations§
impl<'g, K, V, S> Freeze for Remove<'g, K, V, S>
impl<'g, K, V, S> RefUnwindSafe for Remove<'g, K, V, S>
impl<'g, K, V, S> Send for Remove<'g, K, V, S>
impl<'g, K, V, S> Sync for Remove<'g, K, V, S>
impl<'g, K, V, S> Unpin for Remove<'g, K, V, S>
impl<'g, K, V, S> UnsafeUnpin for Remove<'g, K, V, S>
impl<'g, K, V, S> UnwindSafe for Remove<'g, K, V, 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