Struct libp2p_core::nodes::collection::PeerMut
source · pub struct PeerMut<'a, TInEvent: 'a> { /* private fields */ }Expand description
Access to a peer in the collection.
Implementations
Auto Trait Implementations
impl<'a, TInEvent> !RefUnwindSafe for PeerMut<'a, TInEvent>
impl<'a, TInEvent> Send for PeerMut<'a, TInEvent>where
TInEvent: Send,
impl<'a, TInEvent> Sync for PeerMut<'a, TInEvent>where
TInEvent: Send,
impl<'a, TInEvent> Unpin for PeerMut<'a, TInEvent>
impl<'a, TInEvent> !UnwindSafe for PeerMut<'a, TInEvent>
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