Enum promising_future::Pollresult [] [src]

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

Result of calling Future.poll().

Variants

Unresolved(Future<T>)

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

Resolved(Option<T>)

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

Trait Implementations

impl<T: Debug + Send> Debug for Pollresult<T>
[src]

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

Formats the value using the given formatter.