pub struct DatagramFlowInfo {
pub flow_id: DgramFlowId,
pub send: OutboundFrameSender,
pub recv: InboundFrameStream,
}Expand description
The channels and metadata for a newly established HTTP/3 DATAGRAM flow
(RFC 9297). Delivered as part of IncomingH3Headers when the associated
stream exchange carries DATAGRAM semantics (e.g. CONNECT-UDP / MASQUE).
Fields§
§flow_id: DgramFlowIdRFC 9297 Quarter Stream ID or legacy flow_id for this flow.
send: OutboundFrameSenderSender for transmitting datagrams to the peer.
recv: InboundFrameStreamReceiver for receiving datagrams from the peer.
Auto Trait Implementations§
impl !RefUnwindSafe for DatagramFlowInfo
impl !UnwindSafe for DatagramFlowInfo
impl Forget for DatagramFlowInfo
impl Freeze for DatagramFlowInfo
impl Move for DatagramFlowInfo
impl Send for DatagramFlowInfo
impl Sync for DatagramFlowInfo
impl Unpin for DatagramFlowInfo
impl UnsafeUnpin for DatagramFlowInfo
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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