Struct cache_loader_async::cache_api::ResultMeta
source · [−]pub struct ResultMeta<V> {
pub result: V,
pub cached: bool,
}
Fields
result: V
cached: bool
Trait Implementations
sourceimpl<V: Clone> Clone for ResultMeta<V>
impl<V: Clone> Clone for ResultMeta<V>
sourcefn clone(&self) -> ResultMeta<V>
fn clone(&self) -> ResultMeta<V>
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> RefUnwindSafe for ResultMeta<V>where
V: RefUnwindSafe,
impl<V> Send for ResultMeta<V>where
V: Send,
impl<V> Sync for ResultMeta<V>where
V: Sync,
impl<V> Unpin for ResultMeta<V>where
V: Unpin,
impl<V> UnwindSafe for ResultMeta<V>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