pub struct WebTransportRequestStream { /* private fields */ }Available on (crate features
http1 or http2 or http3) and crate feature http3 and crate feature webtransport only.Expand description
A stream for handling HTTP requests over WebTransport.
Implementations§
Source§impl WebTransportRequestStream
impl WebTransportRequestStream
Sourcepub fn into_inner(self) -> RequestStream<BidiStream<Bytes>, Bytes>
pub fn into_inner(self) -> RequestStream<BidiStream<Bytes>, Bytes>
Get the inner h3::server::RequestStream.
Can be used to access lower-level functionality.
Sourcepub fn split(
self,
) -> (RequestStream<SendStream<Bytes>, Bytes>, RequestStream<RecvStream, Bytes>)
pub fn split( self, ) -> (RequestStream<SendStream<Bytes>, Bytes>, RequestStream<RecvStream, Bytes>)
Split this stream into separate send and receive halves.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for WebTransportRequestStream
impl !RefUnwindSafe for WebTransportRequestStream
impl Send for WebTransportRequestStream
impl Sync for WebTransportRequestStream
impl Unpin for WebTransportRequestStream
impl !UnwindSafe for WebTransportRequestStream
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