#[non_exhaustive]pub struct DroppedPacket {
pub seq_number: u32,
pub reason: DropReason,
pub due_us: Option<u64>,
}Expand description
One sequence number the scheduler gave up on, with the reason.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.seq_number: u32The sequence number dropped.
reason: DropReasonWhy it was dropped.
due_us: Option<u64>The play time (PktTsbpdTime, µs) the packet was due at, when the
scheduler knew it.
Implementations§
Source§impl DroppedPacket
impl DroppedPacket
Trait Implementations§
Source§impl Clone for DroppedPacket
impl Clone for DroppedPacket
impl Copy for DroppedPacket
Source§impl Debug for DroppedPacket
impl Debug for DroppedPacket
impl Eq for DroppedPacket
Source§impl PartialEq for DroppedPacket
impl PartialEq for DroppedPacket
Source§impl Serialize for DroppedPacket
Available on crate feature serde only.
impl Serialize for DroppedPacket
Available on crate feature
serde only.impl StructuralPartialEq for DroppedPacket
Auto Trait Implementations§
impl Forget for DroppedPacket
impl Freeze for DroppedPacket
impl Move for DroppedPacket
impl RefUnwindSafe for DroppedPacket
impl Send for DroppedPacket
impl Sync for DroppedPacket
impl Unpin for DroppedPacket
impl UnsafeUnpin for DroppedPacket
impl UnwindSafe for DroppedPacket
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