pub struct IpIpConfig {
pub local: Ipv4Addr,
pub remote: Ipv4Addr,
pub ttl: Option<u8>,
pub tos: Option<u8>,
pub encap_limit: Option<u8>,
pub pmtudisc: bool,
pub link: Option<u32>,
}Fields§
§local: Ipv4Addr§remote: Ipv4Addr§ttl: Option<u8>§tos: Option<u8>§encap_limit: Option<u8>§pmtudisc: bool§link: Option<u32>Trait Implementations§
Source§impl Clone for IpIpConfig
impl Clone for IpIpConfig
Source§fn clone(&self) -> IpIpConfig
fn clone(&self) -> IpIpConfig
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 IpIpConfig
impl Debug for IpIpConfig
Source§impl PartialEq for IpIpConfig
impl PartialEq for IpIpConfig
impl StructuralPartialEq for IpIpConfig
Auto Trait Implementations§
impl Freeze for IpIpConfig
impl RefUnwindSafe for IpIpConfig
impl Send for IpIpConfig
impl Sync for IpIpConfig
impl Unpin for IpIpConfig
impl UnsafeUnpin for IpIpConfig
impl UnwindSafe for IpIpConfig
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