futures

Macro try_ready

Source
macro_rules! try_ready {
    ($e:expr) => { ... };
}
Expand description

A macro for extracting the successful type of a Poll<T, E>.

This macro bakes in propagation of both errors and Pending signals by returning early.