pub struct SendStream<B: Buf> { /* private fields */ }Expand description
QUIC-backed send stream
Implements http3::quic::SendStream backed by a quic::SendStream.
Trait Implementations§
Source§impl<B> SendStream<B> for SendStream<B>where
B: Buf,
impl<B> SendStream<B> for SendStream<B>where
B: Buf,
Source§fn poll_ready(
&mut self,
cx: &mut Context<'_>,
) -> Poll<Result<(), StreamErrorIncoming>>
fn poll_ready( &mut self, cx: &mut Context<'_>, ) -> Poll<Result<(), StreamErrorIncoming>>
Polls if the stream can send more data.
Source§fn poll_finish(
&mut self,
_cx: &mut Context<'_>,
) -> Poll<Result<(), StreamErrorIncoming>>
fn poll_finish( &mut self, _cx: &mut Context<'_>, ) -> Poll<Result<(), StreamErrorIncoming>>
Poll to finish the sending side of the stream.
Source§fn poll_stopped(
&mut self,
cx: &mut Context<'_>,
) -> Poll<Result<Option<u64>, StreamErrorIncoming>>
fn poll_stopped( &mut self, cx: &mut Context<'_>, ) -> Poll<Result<Option<u64>, StreamErrorIncoming>>
Polls the peer’s response to the send direction. Read more
Auto Trait Implementations§
impl<B> !Freeze for SendStream<B>
impl<B> !RefUnwindSafe for SendStream<B>
impl<B> !UnwindSafe for SendStream<B>
impl<B> Send for SendStream<B>
impl<B> Sync for SendStream<B>
impl<B> Unpin for SendStream<B>
impl<B> UnsafeUnpin for SendStream<B>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more