Enum BidiStreamHeader
pub enum BidiStreamHeader {
WebTransportBidi(SessionId),
}Available on crate features
quic and h3 and i-implement-a-third-party-backend-and-opt-into-breaking-changes only.Variants§
Trait Implementations§
§impl<B> From<BidiStreamHeader> for WriteBuf<B>where
B: Buf,
impl<B> From<BidiStreamHeader> for WriteBuf<B>where
B: Buf,
§fn from(header: BidiStreamHeader) -> WriteBuf<B>
fn from(header: BidiStreamHeader) -> WriteBuf<B>
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BidiStreamHeader
impl RefUnwindSafe for BidiStreamHeader
impl Send for BidiStreamHeader
impl Sync for BidiStreamHeader
impl Unpin for BidiStreamHeader
impl UnwindSafe for BidiStreamHeader
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more