Enum cache_loader_async::cache_api::CacheEntry
source · [−]Variants
Loaded(V)
Loading(Sender<Result<V, E>>)
Trait Implementations
sourceimpl<V: Clone, E: Clone + Debug> Clone for CacheEntry<V, E>
impl<V: Clone, E: Clone + Debug> Clone for CacheEntry<V, E>
sourcefn clone(&self) -> CacheEntry<V, E>
fn clone(&self) -> CacheEntry<V, E>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl<V, E> !RefUnwindSafe for CacheEntry<V, E>
impl<V, E> Send for CacheEntry<V, E>where
E: Send,
V: Send,
impl<V, E> Sync for CacheEntry<V, E>where
E: Send,
V: Send + Sync,
impl<V, E> Unpin for CacheEntry<V, E>where
V: Unpin,
impl<V, E> !UnwindSafe for CacheEntry<V, E>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more