From f33251d69b67cb1265c1a6eef616168656708f64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Michel?= Date: Mon, 10 Jul 2023 11:30:31 +0000 Subject: [PATCH] remove SendStream's send_data as its behaviour is unclear --- transport/src/lib.rs | 3 --- 1 file changed, 3 deletions(-) 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>;