Struct libp2p_gossipsub::time_cache::TimeCache
source · [−]pub struct TimeCache<Key, Value> { /* private fields */ }
Implementations
Auto Trait Implementations
impl<Key, Value> RefUnwindSafe for TimeCache<Key, Value> where
Key: RefUnwindSafe,
Value: RefUnwindSafe,
impl<Key, Value> Send for TimeCache<Key, Value> where
Key: Send,
Value: Send,
impl<Key, Value> Sync for TimeCache<Key, Value> where
Key: Sync,
Value: Sync,
impl<Key, Value> Unpin for TimeCache<Key, Value> where
Key: Unpin,
Value: Unpin,
impl<Key, Value> UnwindSafe for TimeCache<Key, Value> where
Key: UnwindSafe,
Value: 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