todo clean up

This commit is contained in:
Lucio Franco
2019-09-22 12:45:19 -05:00
parent a7ee26cd3b
commit cccc008366
2 changed files with 4 additions and 1 deletions
-1
View File
@@ -214,7 +214,6 @@ fn generate_unary(
Ok(res)
};
// TODO: implement this future manually
Box::pin(fut)
}
}
+4
View File
@@ -38,6 +38,7 @@ impl Server {
pub struct Builder {
tls: Option<(Vec<u8>, Vec<u8>)>,
interceptor: Option<Interceptor>,
// concurrency_limit: Option<usize>,
}
impl Builder {
@@ -50,7 +51,10 @@ impl Builder {
self
}
// FIXME: add server side layering ability
// pub fn concurrency_limit(&mut self, limit: usize) -> &mut Self {
// self.concurrency_limit = Some(limit);
// self
// }
pub fn interceptor_fn<F, Out>(&mut self, f: F) -> &mut Self