[][src]Struct net_parser_rs::global_header::GlobalHeader

pub struct GlobalHeader {
    pub endianness: Endianness,
    pub version_major: u16,
    pub version_minor: u16,
    pub zone: i32,
    pub sig_figs: i32,
    pub snap_length: u32,
    pub network: u32,
}

Global header associated with libpcap capture files

Fields

endianness: Endiannessversion_major: u16version_minor: u16zone: i32sig_figs: i32snap_length: u32network: u32

Implementations

impl GlobalHeader[src]

Trait Implementations

impl Clone for GlobalHeader[src]

impl Copy for GlobalHeader[src]

impl Debug for GlobalHeader[src]

impl Default for GlobalHeader[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.