pub struct SharedMap<I, K, P>(_, _);
Expand description
A map of cached operations sharing the same queue.
Trait Implementations
sourceimpl<I, Q: QueueCapAtLeast<LEN, Item = I>, K, P, const LEN: usize> CachedOperation<I, Q, LEN> for SharedMap<I, K, P> where
K: Clone + Eq + Hash,
P: CachedOperation<I, Q, LEN>,
impl<I, Q: QueueCapAtLeast<LEN, Item = I>, K, P, const LEN: usize> CachedOperation<I, Q, LEN> for SharedMap<I, K, P> where
K: Clone + Eq + Hash,
P: CachedOperation<I, Q, LEN>,
Auto Trait Implementations
impl<I, K, P> RefUnwindSafe for SharedMap<I, K, P> where
K: RefUnwindSafe,
P: RefUnwindSafe,
impl<I, K, P> Send for SharedMap<I, K, P> where
K: Send,
P: Send,
impl<I, K, P> Sync for SharedMap<I, K, P> where
K: Sync,
P: Sync,
impl<I, K, P> Unpin for SharedMap<I, K, P> where
K: Unpin,
P: Unpin,
impl<I, K, P> UnwindSafe for SharedMap<I, K, P> where
K: UnwindSafe,
P: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more