Flatten
struct · ferroui-system · v0.5.0
struct Flatten<T>
A Shared of a Result<T, ObservableError> as a future of that result
(Shared::flatten): the futures that the asynchronous forms of the reactive libraries take
are futures of Result<T, ObservableError>, and an abort or a panic of the task is an error of
that result (Shared::result). Clones await the same outcome.
Members
into_shared
fn into_shared(self: Self) -> Shared<Result<T, ObservableError>>
The Shared it awaits.
shared
fn shared(self: &Self) -> &Shared<Result<T, ObservableError>>
The Shared it awaits.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyIntoFutureToOwnedCloneFutureDebug
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.