pub type NextCommand = Poll<Option<Result<(MethodId, Value), DeadlineExceeded>>>;Aliased Type§
pub enum NextCommand {
Ready(Option<Result<(Cow<'static, str>, Value), DeadlineExceeded>>),
Pending,
}Variants§
Ready(Option<Result<(Cow<'static, str>, Value), DeadlineExceeded>>)
Represents that a value is immediately ready.
Pending
Represents that a value is not ready yet.
When a function returns Pending, the function must also
ensure that the current task is scheduled to be awoken when
progress can be made.