Struct hyper::proto::h2::UpgradedSendStream
source · struct UpgradedSendStream<B>(SendStream<SendBuf<Neutered<B>>>);
Tuple Fields§
§0: SendStream<SendBuf<Neutered<B>>>
Implementations§
source§impl<B> UpgradedSendStream<B>where
B: Buf,
impl<B> UpgradedSendStream<B>where
B: Buf,
unsafe fn new(inner: SendStream<SendBuf<B>>) -> Self
fn reserve_capacity(&mut self, cnt: usize)
fn poll_capacity( &mut self, cx: &mut Context<'_>, ) -> Poll<Option<Result<usize, Error>>>
fn poll_reset(&mut self, cx: &mut Context<'_>) -> Poll<Result<Reason, Error>>
fn write(&mut self, buf: &[u8], end_of_stream: bool) -> Result<(), Error>
unsafe fn as_inner_unchecked(&mut self) -> &mut SendStream<SendBuf<B>>
Auto Trait Implementations§
impl<B> Freeze for UpgradedSendStream<B>
impl<B> RefUnwindSafe for UpgradedSendStream<B>
impl<B> Send for UpgradedSendStream<B>
impl<B> Sync for UpgradedSendStream<B>
impl<B> Unpin for UpgradedSendStream<B>
impl<B> UnwindSafe for UpgradedSendStream<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