We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c63f737 commit 6a6b99fCopy full SHA for 6a6b99f
src/body/incoming.rs
@@ -355,16 +355,6 @@ impl Sender {
355
futures_util::future::poll_fn(|cx| self.poll_ready(cx)).await
356
}
357
358
- /// Send data on data channel when it is ready.
359
- #[cfg(test)]
360
- #[allow(unused)]
361
- pub(crate) async fn send_data(&mut self, chunk: Bytes) -> crate::Result<()> {
362
- self.ready().await?;
363
- self.data_tx
364
- .try_send(Ok(chunk))
365
- .map_err(|_| crate::Error::new_closed())
366
- }
367
-
368
/// Send trailers on trailers channel.
369
#[allow(unused)]
370
pub(crate) async fn send_trailers(&mut self, trailers: HeaderMap) -> crate::Result<()> {
0 commit comments