Struct pnet::packet::arp::ArpOperation [] [src]

pub struct ArpOperation(pub u16);

Represents ARP operation

Methods

impl ArpOperation
[src]

Create a new ArpOperation

Trait Implementations

impl Hash for ArpOperation
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Ord for ArpOperation
[src]

This method returns an Ordering between self and other. Read more

impl PartialOrd for ArpOperation
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Eq for ArpOperation
[src]

impl PartialEq for ArpOperation
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for ArpOperation
[src]

Formats the value using the given formatter.

impl Copy for ArpOperation
[src]

impl Clone for ArpOperation
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PrimitiveValues for ArpOperation
[src]

A tuple of types, to represent the current value

Convert a value to primitive types representing it