Enum etherparse::IpFilter[][src]

pub enum IpFilter {
    Ipv4 {
        source: Option<[u8; 4]>,
        destination: Option<[u8; 4]>,
    },
    Ipv6 {
        source: Option<[u8; 16]>,
        destination: Option<[u8; 16]>,
    },
}

Variants

Fields of Ipv4

Fields of Ipv6

Methods

impl IpFilter
[src]

Trait Implementations

impl Debug for IpFilter
[src]

Formats the value using the given formatter. Read more

impl Clone for IpFilter
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for IpFilter
[src]

impl PartialEq for IpFilter
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for IpFilter

impl Sync for IpFilter