pub struct Packet<'a> {
pub interface: u32,
pub ts: Duration,
pub link_type: Linktype,
pub data: PacketData<'a>,
pub caplen: u32,
pub origlen: u32,
pub pcap_index: usize,
}Fields§
§interface: u32§ts: Duration§link_type: Linktype§data: PacketData<'a>§caplen: u32§origlen: u32§pcap_index: usizeTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Packet<'a>
impl<'a> RefUnwindSafe for Packet<'a>
impl<'a> Send for Packet<'a>
impl<'a> Sync for Packet<'a>
impl<'a> Unpin for Packet<'a>
impl<'a> UnwindSafe for Packet<'a>
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