SuspensionHostOf
struct · ferroui-reactiveui · v0.5.0
struct SuspensionHostOf<T: 'static>
A suspension host whose state of the application has the type T (SuspensionHost<TAppState>).
It has the observables of SuspensionHost and IsContinuing, and
a typed state with the observable of its changes. Through ISuspensionHost the state is
seen untyped: setting an untyped state of another type panics (InvalidCastException).
Members
new
fn new() -> Rc<Self>
A host whose observables fail on subscription until a helper sets them
(SuspensionHost<TAppState>()).
is_continuing
fn is_continuing(self: &Self) -> Rc<dyn IObservable<()>>
Ticks when the application continues an activity handed over from another device
(IsContinuing).
set_is_continuing
fn set_is_continuing(self: &Self, value: Rc<dyn IObservable<()>>)
Sets is_continuing.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeIReactiveObjectExtBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>AnyDebugINotifyPropertyChangedINotifyPropertyChangingIEnableLoggerIReactiveObjectIHandleObservableErrorsISuspensionHostISuspensionHostOf<T>IDisposable
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.