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 duplicate 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 for CaptureInfo
impl PartialEq for CaptureInfo
impl StructuralPartialEq for CaptureInfo
Auto Trait Implementations§
impl Freeze for CaptureInfo
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