Enum etherparse::LinkFilter [−][src]
Variants
Ethernet2
Fields of Ethernet2
source: Option<[u8; 6]> | |
destination: Option<[u8; 6]> |
Methods
impl LinkFilter
[src]
impl LinkFilter
pub fn applies_to_slice(&self, slice: &LinkSlice) -> bool
[src]
pub fn applies_to_slice(&self, slice: &LinkSlice) -> bool
Trait Implementations
impl Debug for LinkFilter
[src]
impl Debug for LinkFilter
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for LinkFilter
[src]
impl Clone for LinkFilter
fn clone(&self) -> LinkFilter
[src]
fn clone(&self) -> LinkFilter
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Eq for LinkFilter
[src]
impl Eq for LinkFilter
impl PartialEq for LinkFilter
[src]
impl PartialEq for LinkFilter
fn eq(&self, other: &LinkFilter) -> bool
[src]
fn eq(&self, other: &LinkFilter) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &LinkFilter) -> bool
[src]
fn ne(&self, other: &LinkFilter) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for LinkFilter
impl Send for LinkFilter
impl Sync for LinkFilter
impl Sync for LinkFilter