ScheduledDisposable
struct · ferroui-reactive · v0.5.0
struct ScheduledDisposable
A disposable whose disposal runs on a scheduler (ScheduledDisposable).
Members
new
fn new(scheduler: Rc<dyn IScheduler>, disposable: Rc<dyn IDisposable>) -> Rc<Self>
Disposes disposable on scheduler when it is disposed.
scheduler
fn scheduler(self: &Self) -> &Rc<dyn IScheduler>
The scheduler the disposal runs on.
disposable
fn disposable(self: &Self) -> Rc<dyn IDisposable>
The disposable that is disposed (an empty one once it has been).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyIDisposableICancelable
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.