[][src]Struct pktparse::arp::ArpPacket

pub struct ArpPacket {
    pub hw_addr_type: HardwareAddressType,
    pub proto_addr_type: ProtocolAddressType,
    pub hw_addr_size: u8,
    pub proto_addr_size: u8,
    pub operation: Operation,
    pub src_mac: MacAddress,
    pub src_addr: Ipv4Addr,
    pub dest_mac: MacAddress,
    pub dest_addr: Ipv4Addr,
}

Fields

hw_addr_type: HardwareAddressTypeproto_addr_type: ProtocolAddressTypehw_addr_size: u8proto_addr_size: u8operation: Operationsrc_mac: MacAddresssrc_addr: Ipv4Addrdest_mac: MacAddressdest_addr: Ipv4Addr

Trait Implementations

impl Eq for ArpPacket[src]

impl PartialEq<ArpPacket> for ArpPacket[src]

impl Debug for ArpPacket[src]

impl StructuralPartialEq for ArpPacket[src]

impl StructuralEq for ArpPacket[src]

Auto Trait Implementations

Blanket Implementations

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

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

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.

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

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

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