Enum cache_loader_async::cache_api::CacheResult
source · [−]pub enum CacheResult<V, E: Debug> {
Error(BackingError),
Found(V),
Loading(JoinHandle<Result<V, CacheLoadingError<E>>>),
None,
}
Variants
Error(BackingError)
Found(V)
Loading(JoinHandle<Result<V, CacheLoadingError<E>>>)
None
Trait Implementations
Auto Trait Implementations
impl<V, E> RefUnwindSafe for CacheResult<V, E>where
V: RefUnwindSafe,
impl<V, E> Send for CacheResult<V, E>where
E: Send,
V: Send,
impl<V, E> Sync for CacheResult<V, E>where
E: Send,
V: Send + Sync,
impl<V, E> Unpin for CacheResult<V, E>where
V: Unpin,
impl<V, E> UnwindSafe for CacheResult<V, E>where
V: UnwindSafe,
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