Struct tangle::Promise [] [src]

pub struct Promise<T, E = ()> { /* fields omitted */ }

Methods

impl<T, E> Promise<T, E> where
    T: Send + 'static,
    E: Send + 'static, 
[src]

use tangle::{Promise};
let mut p = Promise::<u32, ()>::new();

p.future();

Trait Implementations

impl<T: Debug, E: Debug> Debug for Promise<T, E>
[src]

Formats the value using the given formatter.