pub enum RetainOutcome {
Stored {
evicted: usize,
},
Duplicate,
}Expand description
Successful retention. A duplicate neither evicts nor advances generation.
Variants§
Trait Implementations§
Source§impl Clone for RetainOutcome
impl Clone for RetainOutcome
Source§fn clone(&self) -> RetainOutcome
fn clone(&self) -> RetainOutcome
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RetainOutcome
impl Debug for RetainOutcome
Source§impl PartialEq for RetainOutcome
impl PartialEq for RetainOutcome
impl Copy for RetainOutcome
impl Eq for RetainOutcome
impl StructuralPartialEq for RetainOutcome
Auto Trait Implementations§
impl Freeze for RetainOutcome
impl RefUnwindSafe for RetainOutcome
impl Send for RetainOutcome
impl Sync for RetainOutcome
impl Unpin for RetainOutcome
impl UnwindSafe for RetainOutcome
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