pub struct SampledIpv4 {
pub length: u32,
pub protocol: u32,
pub src_ip: IPAddress,
pub dst_ip: IPAddress,
pub src_port: u32,
pub dst_port: u32,
pub tcp_flags: u32,
pub tos: u32,
}
Fields§
§length: u32
§protocol: u32
§src_ip: IPAddress
§dst_ip: IPAddress
§src_port: u32
§dst_port: u32
§tcp_flags: u32
§tos: u32
Trait Implementations§
Source§impl Clone for SampledIpv4
impl Clone for SampledIpv4
Source§fn clone(&self) -> SampledIpv4
fn clone(&self) -> SampledIpv4
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 SampledIpv4
impl Debug for SampledIpv4
Source§impl Decodeable for SampledIpv4
impl Decodeable for SampledIpv4
fn read_and_decode(stream: &mut dyn ReadSeeker) -> Result<SampledIpv4, Error>
Auto Trait Implementations§
impl Freeze for SampledIpv4
impl RefUnwindSafe for SampledIpv4
impl Send for SampledIpv4
impl Sync for SampledIpv4
impl Unpin for SampledIpv4
impl UnwindSafe for SampledIpv4
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