SynchronousCompletionAsyncResultSource
struct · ferroui-base · v0.5.0
struct SynchronousCompletionAsyncResultSource<T>
The producer side of a SynchronousCompletionAsyncResult.
Members
new
fn new() -> Self
async_result
fn async_result(self: &Self) -> SynchronousCompletionAsyncResult<T>
The consumer side of the operation.
set_result
fn set_result(self: &Self, result: T)
Completes the operation and runs its continuations. Panics if it is already completed.
try_set_result
fn try_set_result(self: &Self, result: T)
Completes the operation unless it is already completed.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedErasedDestructorIntoEitherCloneDefault
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.