1 2 3 4 5 6 7 8 9 10
//! Types use std::result; use futures; use stitch::error::Error; pub type Result<T> = result::Result<T, Error>; pub type Future<T> = Box<futures::Future<Item = T, Error = Error>>;
1 2 3 4 5 6 7 8 9 10
//! Types use std::result; use futures; use stitch::error::Error; pub type Result<T> = result::Result<T, Error>; pub type Future<T> = Box<futures::Future<Item = T, Error = Error>>;