pub enum AcceptedBi<C: Connection<B>, B: Buf> {
BidiStream(SessionId, BidiStream<C::BidiStream, B>),
Request(Request<()>, RequestStream<C::BidiStream, B>),
}Expand description
An accepted incoming bidirectional stream.
Since
Variants§
BidiStream(SessionId, BidiStream<C::BidiStream, B>)
An incoming bidirectional stream
Request(Request<()>, RequestStream<C::BidiStream, B>)
An incoming HTTP/3 request, passed through a webtransport session.
This makes it possible to respond to multiple CONNECT requests
Auto Trait Implementations§
impl<C, B> !Freeze for AcceptedBi<C, B>
impl<C, B> !RefUnwindSafe for AcceptedBi<C, B>
impl<C, B> Send for AcceptedBi<C, B>
impl<C, B> Sync for AcceptedBi<C, B>
impl<C, B> Unpin for AcceptedBi<C, B>
impl<C, B> !UnwindSafe for AcceptedBi<C, 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