[][src]Enum pcap::Precision

#[repr(u32)]pub enum Precision {
    Micro,
    Nano,
}

Timestamp resolution types

Not all systems and interfaces will necessarily support all of these resolutions when doing live captures; all of them can be requested when reading a safefile.

Variants

Micro

Use timestamps with microsecond precision. This is the default.

Nano

Use timestamps with nanosecond precision.

Trait Implementations

impl Clone for Precision[src]

impl Copy for Precision[src]

impl Debug for Precision[src]

impl Eq for Precision[src]

impl PartialEq<Precision> for Precision[src]

impl StructuralEq for Precision[src]

impl StructuralPartialEq for Precision[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.