pub struct ExtendedMpls {
    pub next_hop: Address,
    pub in_stack: Vec<u32>,
    pub out_stack: Vec<u32>,
}Expand description
Extended MPLS Data - Format (0,1006)
MPLS label stack information
§XDR Definition (sFlow v5)
/* Extended MPLS Data */
/* opaque = flow_data; enterprise = 0; format = 1006 */
struct extended_mpls {
    next_hop nexthop;     /* Address of the next hop */
    label_stack in_stack; /* Label stack of received packet */
    label_stack out_stack;/* Label stack for transmitted packet */
}Fields§
§next_hop: AddressNext hop address (spec: nexthop)
in_stack: Vec<u32>Input label stack
out_stack: Vec<u32>Output label stack
Trait Implementations§
Source§impl Clone for ExtendedMpls
 
impl Clone for ExtendedMpls
Source§fn clone(&self) -> ExtendedMpls
 
fn clone(&self) -> ExtendedMpls
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl Debug for ExtendedMpls
 
impl Debug for ExtendedMpls
Source§impl PartialEq for ExtendedMpls
 
impl PartialEq for ExtendedMpls
impl Eq for ExtendedMpls
impl StructuralPartialEq for ExtendedMpls
Auto Trait Implementations§
impl Freeze for ExtendedMpls
impl RefUnwindSafe for ExtendedMpls
impl Send for ExtendedMpls
impl Sync for ExtendedMpls
impl Unpin for ExtendedMpls
impl UnwindSafe for ExtendedMpls
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more