pub struct PcapPacketSummary {Show 17 fields
pub index: usize,
pub timestamp: String,
pub source: String,
pub destination: String,
pub protocol: String,
pub length: u32,
pub captured_length: u32,
pub info: String,
pub source_port: Option<u16>,
pub destination_port: Option<u16>,
pub tcp_flags: Option<String>,
pub icmp_type: Option<u8>,
pub icmp_code: Option<u8>,
pub arp_operation: Option<String>,
pub ethernet_source: Option<String>,
pub ethernet_destination: Option<String>,
pub hex_preview: Option<String>,
}Fields§
§index: usize§timestamp: String§source: String§destination: String§protocol: String§length: u32§captured_length: u32§info: String§source_port: Option<u16>§destination_port: Option<u16>§tcp_flags: Option<String>§icmp_type: Option<u8>§icmp_code: Option<u8>§arp_operation: Option<String>§ethernet_source: Option<String>§ethernet_destination: Option<String>§hex_preview: Option<String>Trait Implementations§
Source§impl Clone for PcapPacketSummary
impl Clone for PcapPacketSummary
Source§impl Debug for PcapPacketSummary
impl Debug for PcapPacketSummary
Auto Trait Implementations§
impl Freeze for PcapPacketSummary
impl RefUnwindSafe for PcapPacketSummary
impl Send for PcapPacketSummary
impl Sync for PcapPacketSummary
impl Unpin for PcapPacketSummary
impl UnsafeUnpin for PcapPacketSummary
impl UnwindSafe for PcapPacketSummary
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§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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