pub struct PacketReceived {
pub header: PacketHeader,
pub is_coalesced: Option<bool>,
pub retry_token: Option<Token>,
pub stateless_reset_token: Option<StatelessResetToken>,
pub supported_versions: Option<Vec<Bytes>>,
pub raw: Option<RawInfo>,
pub datagram_id: Option<u32>,
pub trigger: Option<PacketReceivedTrigger>,
pub frames: Option<Vec<QuicFrame>>,
}
Fields§
§header: PacketHeader
§is_coalesced: Option<bool>
§retry_token: Option<Token>
§stateless_reset_token: Option<StatelessResetToken>
§supported_versions: Option<Vec<Bytes>>
§raw: Option<RawInfo>
§datagram_id: Option<u32>
§trigger: Option<PacketReceivedTrigger>
§frames: Option<Vec<QuicFrame>>
Trait Implementations§
Source§impl Clone for PacketReceived
impl Clone for PacketReceived
Source§fn clone(&self) -> PacketReceived
fn clone(&self) -> PacketReceived
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PacketReceived
impl Debug for PacketReceived
Source§impl<'de> Deserialize<'de> for PacketReceived
impl<'de> Deserialize<'de> for PacketReceived
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PacketReceived
impl PartialEq for PacketReceived
Source§impl Serialize for PacketReceived
impl Serialize for PacketReceived
impl StructuralPartialEq for PacketReceived
Auto Trait Implementations§
impl Freeze for PacketReceived
impl RefUnwindSafe for PacketReceived
impl Send for PacketReceived
impl Sync for PacketReceived
impl Unpin for PacketReceived
impl UnwindSafe for PacketReceived
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)