pub struct Gre6Config {
pub local: Ipv6Addr,
pub remote: Ipv6Addr,
pub hop_limit: Option<u8>,
pub traffic_class: Option<u8>,
pub key: Option<u32>,
pub encap_limit: Option<u8>,
pub pmtudisc: bool,
pub ignore_df: bool,
pub link: Option<u32>,
}Fields§
§local: Ipv6Addr§remote: Ipv6Addr§hop_limit: Option<u8>§traffic_class: Option<u8>§key: Option<u32>§encap_limit: Option<u8>§pmtudisc: bool§ignore_df: bool§link: Option<u32>Trait Implementations§
Source§impl Clone for Gre6Config
impl Clone for Gre6Config
Source§fn clone(&self) -> Gre6Config
fn clone(&self) -> Gre6Config
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Gre6Config
impl Debug for Gre6Config
Source§impl PartialEq for Gre6Config
impl PartialEq for Gre6Config
impl StructuralPartialEq for Gre6Config
Auto Trait Implementations§
impl Freeze for Gre6Config
impl RefUnwindSafe for Gre6Config
impl Send for Gre6Config
impl Sync for Gre6Config
impl Unpin for Gre6Config
impl UnsafeUnpin for Gre6Config
impl UnwindSafe for Gre6Config
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