Enum promising_future::Pollresult [] [src]

pub enum Pollresult<T: Send> {
    Unresolved(Future<T>),
    Resolved(Option<T>),
}

Result of calling Future.poll().

Variants

Unresolved

Future is not yet resolved; returns the Future for further use.

Resolved

Future has been resolved, and may or may not have a value. The Future has been consumed.

Trait Implementations

Derived Implementations

impl<T: Debug + Send> Debug for Pollresult<T>

fn fmt(&self, __arg_0: &mut Formatter) -> Result