Struct libp2p_gossipsub::time_cache::DuplicateCache
source · [−]pub struct DuplicateCache<Key>(_);
Implementations
sourceimpl<Key> DuplicateCache<Key> where
Key: Eq + Hash + Clone,
impl<Key> DuplicateCache<Key> where
Key: Eq + Hash + Clone,
Auto Trait Implementations
impl<Key> RefUnwindSafe for DuplicateCache<Key> where
Key: RefUnwindSafe,
impl<Key> Send for DuplicateCache<Key> where
Key: Send,
impl<Key> Sync for DuplicateCache<Key> where
Key: Sync,
impl<Key> Unpin for DuplicateCache<Key> where
Key: Unpin,
impl<Key> UnwindSafe for DuplicateCache<Key> where
Key: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more