Struct cross_socket::packet::CaptureInfo
source · pub struct CaptureInfo {
pub capture_no: usize,
pub datatime: String,
pub capture_len: usize,
pub interface_index: u32,
pub interface_name: String,
}
Expand description
Packet Capture information
Fields§
§capture_no: usize
Capture number
datatime: String
Capture datetime
capture_len: usize
Capture length
interface_index: u32
interface index
interface_name: String
Interface name
Trait Implementations§
source§impl Clone for CaptureInfo
impl Clone for CaptureInfo
source§fn clone(&self) -> CaptureInfo
fn clone(&self) -> CaptureInfo
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 CaptureInfo
impl Debug for CaptureInfo
source§impl PartialEq<CaptureInfo> for CaptureInfo
impl PartialEq<CaptureInfo> for CaptureInfo
source§fn eq(&self, other: &CaptureInfo) -> bool
fn eq(&self, other: &CaptureInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CaptureInfo
Auto Trait Implementations§
impl RefUnwindSafe for CaptureInfo
impl Send for CaptureInfo
impl Sync for CaptureInfo
impl Unpin for CaptureInfo
impl UnwindSafe for CaptureInfo
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