Struct lib_sendpacket::MPLS
[−]
[src]
pub struct MPLS { pub label: u32, }
Fields
label: u32
Methods
impl MPLS
[src]
Trait Implementations
impl Clone for MPLS
[src]
fn clone(&self) -> MPLS
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for MPLS
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for MPLS
[src]
fn eq(&self, __arg_0: &MPLS) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &MPLS) -> bool
[src]
This method tests for !=
.
impl Eq for MPLS
[src]
impl Div<MPLS> for Ether
[src]
type Output = L2
The resulting type after applying the /
operator.
fn div(self, rhs: MPLS) -> Self::Output
[src]
Performs the /
operation.