Struct dittolive_ditto::transport::PresenceObserver
source · [−]pub struct PresenceObserver { /* private fields */ }
Expand description
A token returned by Presence::observe
. Retain this object to continue
receiving callback updates.
Trait Implementations
sourceimpl Observer for PresenceObserver
impl Observer for PresenceObserver
Auto Trait Implementations
impl !RefUnwindSafe for PresenceObserver
impl Send for PresenceObserver
impl Sync for PresenceObserver
impl Unpin for PresenceObserver
impl !UnwindSafe for PresenceObserver
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
impl<T> CompatExt for T
impl<T> CompatExt for T
fn compat_ref(&self) -> Compat<&T>
fn compat_ref(&self) -> Compat<&T>
Applies the [
Compat
] adapter by shared reference. Read morefn compat_mut(&mut self) -> Compat<&mut T>
fn compat_mut(&mut self) -> Compat<&mut T>
Applies the [
Compat
] adapter by mutable reference. Read more