Struct tangle::Promise
[−]
[src]
pub struct Promise<T, E = ()> {
// some fields omitted
}Methods
impl<T, E> Promise<T, E> where T: Send + 'static, E: Send + 'static
fn new() -> Promise<T, E>
use tangle::{Promise}; let mut p = Promise::<u32, ()>::new(); p.future();