pub struct SendStream<B: Buf> { /* private fields */ }
Expand description
Quinn-backed send stream
Implements a quic::SendStream
backed by a quinn::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.
Auto Trait Implementations§
impl<B> !Freeze for SendStream<B>
impl<B> RefUnwindSafe for SendStream<B>where
B: RefUnwindSafe,
impl<B> Send for SendStream<B>where
B: Send,
impl<B> Sync for SendStream<B>where
B: Sync,
impl<B> Unpin for SendStream<B>where
B: Unpin,
impl<B> UnwindSafe for SendStream<B>where
B: UnwindSafe,
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