pub struct PacketSent {
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<PacketSentTrigger>,
pub send_at_time: Option<f32>,
pub frames: Option<SmallVec<[QuicFrame; 1]>>,
}
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<PacketSentTrigger>
§send_at_time: Option<f32>
§frames: Option<SmallVec<[QuicFrame; 1]>>
Trait Implementations§
Source§impl Clone for PacketSent
impl Clone for PacketSent
Source§fn clone(&self) -> PacketSent
fn clone(&self) -> PacketSent
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 PacketSent
impl Debug for PacketSent
Source§impl<'de> Deserialize<'de> for PacketSent
impl<'de> Deserialize<'de> for PacketSent
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 PacketSent
impl PartialEq for PacketSent
Source§impl Serialize for PacketSent
impl Serialize for PacketSent
impl StructuralPartialEq for PacketSent
Auto Trait Implementations§
impl Freeze for PacketSent
impl RefUnwindSafe for PacketSent
impl Send for PacketSent
impl Sync for PacketSent
impl Unpin for PacketSent
impl UnwindSafe for PacketSent
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
)