Trait UntrackableGuard
pub trait UntrackableGuard: DerefMut {
// Required method
fn untrack(&mut self);
}Expand description
A reactive, mutable guard that can be untracked to prevent it from notifying subscribers when it is dropped.
Required Methodsยง
fn untrack(&mut self)
fn untrack(&mut self)
Removes the notifier from the guard, such that it will no longer notify subscribers when it is dropped.
Trait Implementationsยง
ยงimpl<T> UntrackableGuard for Box<dyn UntrackableGuard<Target = T>>
impl<T> UntrackableGuard for Box<dyn UntrackableGuard<Target = T>>
Dyn Compatibilityยง
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".