split FlowControl into FlowControlRecv and FlowControlSend

This commit is contained in:
Oliver Gould
2017-07-24 22:01:16 +00:00
parent 40b57cb7fa
commit 1dbbac2c00
6 changed files with 469 additions and 364 deletions

View File

@@ -214,14 +214,5 @@ impl<T: AsyncRead> AsyncRead for Settings<T> {
}
}
impl<T: ControlFlow> ControlFlow for Settings<T> {
fn poll_window_update(&mut self) -> Poll<WindowUpdate, ConnectionError> {
self.inner.poll_window_update()
}
fn expand_window(&mut self, id: StreamId, incr: WindowSize) -> Result<(), ConnectionError> {
self.inner.expand_window(id, incr)
}
}
proxy_control_flow!(Settings);
proxy_control_ping!(Settings);