remove SendStream's send_data as its behaviour is unclear
This commit is contained in:
parent
78f68a6fa0
commit
f33251d69b
|
@ -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<Result<(), Error>>;
|
||||
|
||||
/// Send more data on the stream.
|
||||
fn send_data<T: Buf>(&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<Result<(), Error>>;
|
||||
|
||||
|
|
Loading…
Reference in New Issue