pub struct Ready<T>(_);
Expand description
Extracts the successful type of a Poll<T>
.
See Poll::ready
for details.
Trait Implementations
type Residual = Ready<Infallible>
type Residual = Ready<Infallible>
The type of the value passed to FromResidual::from_residual
as part of ?
when short-circuiting. Read more
Used in ?
to decide whether the operator should produce a value
(because this returned ControlFlow::Continue
)
or propagate a value back to the caller
(because this returned ControlFlow::Break
). Read more