#[non_exhaustive]pub struct Seg6Header {
pub mode: Seg6Mode,
pub segments: Vec<Ipv6Addr>,
}Expand description
Netlink attributes for RTA_ENCAP with RTA_ENCAP_TYPE set to
LWTUNNEL_ENCAP_SEG6.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.mode: Seg6Mode§segments: Vec<Ipv6Addr>Trait Implementations§
Source§impl Clone for Seg6Header
impl Clone for Seg6Header
Source§fn clone(&self) -> Seg6Header
fn clone(&self) -> Seg6Header
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 Seg6Header
impl Debug for Seg6Header
Source§impl Nla for Seg6Header
impl Nla for Seg6Header
Source§impl PartialEq for Seg6Header
impl PartialEq for Seg6Header
impl Eq for Seg6Header
impl StructuralPartialEq for Seg6Header
Auto Trait Implementations§
impl Freeze for Seg6Header
impl RefUnwindSafe for Seg6Header
impl Send for Seg6Header
impl Sync for Seg6Header
impl Unpin for Seg6Header
impl UnwindSafe for Seg6Header
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