struct H2Upgraded<B>where
B: Buf,{
ping: Recorder,
send_stream: UpgradedSendStream<B>,
recv_stream: RecvStream,
buf: Bytes,
}
Fields§
§ping: Recorder
§send_stream: UpgradedSendStream<B>
§recv_stream: RecvStream
§buf: Bytes
Trait Implementations§
Source§impl<B> Read for H2Upgraded<B>where
B: Buf,
impl<B> Read for H2Upgraded<B>where
B: Buf,
Source§impl<B> Write for H2Upgraded<B>where
B: Buf,
impl<B> Write for H2Upgraded<B>where
B: Buf,
Source§fn poll_write(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
buf: &[u8],
) -> Poll<Result<usize, Error>>
fn poll_write( self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8], ) -> Poll<Result<usize, Error>>
Attempt to write bytes from
buf
into the destination. Read moreSource§fn poll_flush(
self: Pin<&mut Self>,
_cx: &mut Context<'_>,
) -> Poll<Result<(), Error>>
fn poll_flush( self: Pin<&mut Self>, _cx: &mut Context<'_>, ) -> Poll<Result<(), Error>>
Attempts to flush the object. Read more
Source§fn poll_shutdown(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
) -> Poll<Result<(), Error>>
fn poll_shutdown( self: Pin<&mut Self>, cx: &mut Context<'_>, ) -> Poll<Result<(), Error>>
Attempts to shut down this writer.
Source§fn is_write_vectored(&self) -> bool
fn is_write_vectored(&self) -> bool
Returns whether this writer has an efficient
poll_write_vectored
implementation. Read moreAuto Trait Implementations§
impl<B> !Freeze for H2Upgraded<B>
impl<B> RefUnwindSafe for H2Upgraded<B>
impl<B> Send for H2Upgraded<B>
impl<B> Sync for H2Upgraded<B>
impl<B> Unpin for H2Upgraded<B>
impl<B> UnwindSafe for H2Upgraded<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