diff --git a/transport/src/lib.rs b/transport/src/lib.rs index ab449c9..0d33853 100644 --- a/transport/src/lib.rs +++ b/transport/src/lib.rs @@ -90,9 +90,6 @@ pub trait SendStream { /// Polls if the stream can send more data. fn poll_ready(&mut self, cx: &mut task::Context<'_>) -> Poll>; - /// Send more data on the stream. - fn send_data(&mut self, data: T) -> Result<(), Error>; - /// Poll to finish the sending side of the stream. fn poll_finish(&mut self, cx: &mut task::Context<'_>) -> Poll>;