1 2 3 4 5 6 7
use futures::Future; use futures::Stream; use error::Error; pub type GrpcFuture<T> = Box<Future<Item = T, Error = Error> + Send>; pub type GrpcStream<T> = Box<Stream<Item = T, Error = Error> + Send>;