Struct async_graphql::dataloader::HashMapCache
source · [−]pub struct HashMapCache<S = RandomState> { /* private fields */ }
Available on crate feature
dataloader
only.Expand description
std::collections::HashMap cache.
Implementations
sourceimpl<S: Send + Sync + BuildHasher + Default + 'static> HashMapCache<S>
impl<S: Send + Sync + BuildHasher + Default + 'static> HashMapCache<S>
Trait Implementations
sourceimpl<S: Send + Sync + BuildHasher + Default + 'static> CacheFactory for HashMapCache<S>
impl<S: Send + Sync + BuildHasher + Default + 'static> CacheFactory for HashMapCache<S>
sourceimpl Default for HashMapCache<RandomState>
impl Default for HashMapCache<RandomState>
Auto Trait Implementations
impl<S> RefUnwindSafe for HashMapCache<S>where
S: RefUnwindSafe,
impl<S> Send for HashMapCache<S>where
S: Send,
impl<S> Sync for HashMapCache<S>where
S: Sync,
impl<S> Unpin for HashMapCache<S>where
S: Unpin,
impl<S> UnwindSafe for HashMapCache<S>where
S: 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