Enum pcap_file::TsResolution
source · pub enum TsResolution {
MicroSecond,
NanoSecond,
}
Expand description
Timestamp resolution of the pcap
Variants§
Trait Implementations§
source§impl Clone for TsResolution
impl Clone for TsResolution
source§fn clone(&self) -> TsResolution
fn clone(&self) -> TsResolution
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 TsResolution
impl Debug for TsResolution
source§impl PartialEq<TsResolution> for TsResolution
impl PartialEq<TsResolution> for TsResolution
source§fn eq(&self, other: &TsResolution) -> bool
fn eq(&self, other: &TsResolution) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.