Type Alias Subscription
pub type Subscription = Arc<dyn Drop>;Expand description
Subscription handle returned by Observer::subscribe methods, which will unsubscribe corresponding callback when dropped.
If you need to send the Subscription handle to another thread, you may wish to enable
the sync feature such that Subscription implements Send+Sync.
Aliased Typeยง
pub struct Subscription { /* private fields */ }