pub enum AcceptedBi {
BidiStream(WebTransportBidiStream),
Request(Request<()>, WebTransportRequestStream),
}Available on (crate features
http1 or http2 or http3) and crate feature http3 and crate feature webtransport only.Expand description
An accepted bidirectional stream or request.
Variants§
BidiStream(WebTransportBidiStream)
A raw bidirectional stream.
Request(Request<()>, WebTransportRequestStream)
An HTTP request over WebTransport.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for AcceptedBi
impl !RefUnwindSafe for AcceptedBi
impl Send for AcceptedBi
impl Sync for AcceptedBi
impl Unpin for AcceptedBi
impl !UnwindSafe for AcceptedBi
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