Struct etherparse::Filter[][src]

pub struct Filter {
    pub link: ElementFilter<LinkFilter>,
    pub vlan: ElementFilter<VlanFilter>,
    pub ip: ElementFilter<IpFilter>,
    pub transport: ElementFilter<TransportFilter>,
}

Fields

Methods

impl Filter
[src]

Returns true if a given sliced network package fullfills all conditions of this filter.

Trait Implementations

impl Debug for Filter
[src]

Formats the value using the given formatter. Read more

impl Clone for Filter
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Filter
[src]

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

impl Eq for Filter
[src]

impl PartialEq for Filter
[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 Filter

impl Sync for Filter