pub trait Observer: Sized {
    // Provided method
    fn stop(self) { ... }
}
Expand description

Observers are objects that must be kept in scope to keep observing changes relating to a Ditto instance, such as Subscriptions, PresenceObservers, or LiveQuerys.

Provided Methods§

source

fn stop(self)

Stop the observer so that it no longer receive updates

Object Safety§

This trait is not object safe.

Implementors§