Struct async_cache::AsyncCache
source · pub struct AsyncCache<T, F>where
T: Send + Sync + Clone + 'static,
F: Fetcher<T> + Sync + Send + Clone + 'static,{ /* private fields */ }Implementations§
source§impl<T, F> AsyncCache<T, F>where
T: Send + Sync + Clone + 'static,
F: Fetcher<T> + Sync + Send + Clone + 'static,
impl<T, F> AsyncCache<T, F>where T: Send + Sync + Clone + 'static, F: Fetcher<T> + Sync + Send + Clone + 'static,
Trait Implementations§
source§impl<T, F> Clone for AsyncCache<T, F>where
T: Send + Sync + Clone + 'static + Clone,
F: Fetcher<T> + Sync + Send + Clone + 'static + Clone,
impl<T, F> Clone for AsyncCache<T, F>where T: Send + Sync + Clone + 'static + Clone, F: Fetcher<T> + Sync + Send + Clone + 'static + Clone,
source§fn clone(&self) -> AsyncCache<T, F>
fn clone(&self) -> AsyncCache<T, F>
Returns a copy 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 more