pub type AsyncValue<T> = AsyncState<T, TaskFailure>;Expand description
Backwards-compatible task failure state. New application code should use
AsyncState<T, E> with its own error type; this alias is retained for
task handles whose cancellation errors are owned by the runtime.
Aliased Type§
pub enum AsyncValue<T> {
Idle,
Loading,
Ready(T),
Error(TaskFailure),
}