Enum generational_cache::cache::Lookup
source · pub enum Lookup<V> {
Hit(V),
Miss,
}
Expand description
The outcome of a lookup query from a Cache
.
Variants§
Trait Implementations§
source§impl<V: PartialEq> PartialEq for Lookup<V>
impl<V: PartialEq> PartialEq for Lookup<V>
impl<V: Eq> Eq for Lookup<V>
impl<V> StructuralEq for Lookup<V>
impl<V> StructuralPartialEq for Lookup<V>
Auto Trait Implementations§
impl<V> RefUnwindSafe for Lookup<V>where V: RefUnwindSafe,
impl<V> Send for Lookup<V>where V: Send,
impl<V> Sync for Lookup<V>where V: Sync,
impl<V> Unpin for Lookup<V>where V: Unpin,
impl<V> UnwindSafe for Lookup<V>where V: 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