1 2 3 4 5
use result; type BoxIterator<T> = Box<Iterator<Item=T> + Send>; pub type GrpcIterator<T> = BoxIterator<result::Result<T>>;
1 2 3 4 5
use result; type BoxIterator<T> = Box<Iterator<Item=T> + Send>; pub type GrpcIterator<T> = BoxIterator<result::Result<T>>;