Struct dittolive_ditto::prelude::PeersObserver
source · [−]pub struct PeersObserver { /* private fields */ }
Expand description
A token returned by observe_peers
. Retain this object to continue
receiving callback updates.
Auto Trait Implementations
impl !RefUnwindSafe for PeersObserver
impl Send for PeersObserver
impl Sync for PeersObserver
impl Unpin for PeersObserver
impl !UnwindSafe for PeersObserver
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