Enum pfctl::Direction [] [src]

pub enum Direction {
    Any,
    In,
    Out,
}

Enum describing matching of rule towards packet flow direction.

Variants

Trait Implementations

impl Debug for Direction
[src]

[src]

Formats the value using the given formatter.

impl Clone for Direction
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Direction
[src]

impl PartialEq for Direction
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for Direction
[src]

impl Hash for Direction
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Default for Direction
[src]

[src]

Returns the "default value" for a type. Read more