pub trait AppWeakHandle: Send {
// Required methods
fn clone_boxed(&self) -> Box<dyn AppWeakHandle>;
fn unsubscribe(&self);
}
Expand description
Represents a weak handle to an AppHandler
subscription.
Required Methods§
sourcefn clone_boxed(&self) -> Box<dyn AppWeakHandle>
fn clone_boxed(&self) -> Box<dyn AppWeakHandle>
Dynamic clone.
sourcefn unsubscribe(&self)
fn unsubscribe(&self)
Unsubscribes the AppHandler
.
This stops the handler from being called again and causes it to be dropped in a future app update.