pub enum InboundFrame {
Body(PooledBuf, bool),
Datagram(PooledDgram),
}
Expand description
An InboundFrame
is a data frame that was received from the peer over a
[quiche::h3::Connection
]. This is used by peers to send body or datagrams
to the local task.
Variants§
Body(PooledBuf, bool)
Request body/CONNECT upstream data plus FIN flag.
Datagram(PooledDgram)
CONNECT-UDP (DATAGRAM) upstream data.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for InboundFrame
impl RefUnwindSafe for InboundFrame
impl Send for InboundFrame
impl Sync for InboundFrame
impl Unpin for InboundFrame
impl UnwindSafe for InboundFrame
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
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