Enum salvo_core::proto::webtransport::server::AcceptedBi
source · pub enum AcceptedBi<C, B>where
C: Connection<B>,
B: Buf,{
BidiStream(SessionId, BidiStream<<C as Connection<B>>::BidiStream, B>),
Request(Request<()>, RequestStream<<C as Connection<B>>::BidiStream, B>),
}
Available on crate feature
quinn
only.Expand description
An accepted incoming bidirectional stream.
Since
Variants§
BidiStream(SessionId, BidiStream<<C as Connection<B>>::BidiStream, B>)
An incoming bidirectional stream
Request(Request<()>, RequestStream<<C as Connection<B>>::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<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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