Struct h3_quinn::SendStream
source · 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,
§type Error = SendStreamError
type Error = SendStreamError
The error type returned by fallible send methods.
source§fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>>
fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll<Result<(), Self::Error>>
Polls if the stream can send more data.
source§fn poll_finish(
&mut self,
_cx: &mut Context<'_>
) -> Poll<Result<(), Self::Error>>
fn poll_finish( &mut self, _cx: &mut Context<'_> ) -> Poll<Result<(), Self::Error>>
Poll to finish the sending side of the stream.
Auto Trait Implementations§
impl<B> !Freeze for SendStream<B>
impl<B> !RefUnwindSafe for SendStream<B>
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>
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