pub struct Ipv4PathMtuDiscovery(/* private fields */);
Expand description
IPv4 Path MTU Discovery option values (IP_PMTUDISC_*
) for use with
set_ip_mtu_discover
and ip_mtu_discover
.
§References
Implementations§
Source§impl Ipv4PathMtuDiscovery
impl Ipv4PathMtuDiscovery
Sourcepub const fn from_raw(raw: RawIpv4PathMtuDiscovery) -> Self
pub const fn from_raw(raw: RawIpv4PathMtuDiscovery) -> Self
Constructs an option from a raw integer.
Sourcepub const fn as_raw(self) -> RawIpv4PathMtuDiscovery
pub const fn as_raw(self) -> RawIpv4PathMtuDiscovery
Returns the raw integer for this option.
Trait Implementations§
Source§impl Clone for Ipv4PathMtuDiscovery
impl Clone for Ipv4PathMtuDiscovery
Source§fn clone(&self) -> Ipv4PathMtuDiscovery
fn clone(&self) -> Ipv4PathMtuDiscovery
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 Ipv4PathMtuDiscovery
impl Debug for Ipv4PathMtuDiscovery
Source§impl Hash for Ipv4PathMtuDiscovery
impl Hash for Ipv4PathMtuDiscovery
Source§impl PartialEq for Ipv4PathMtuDiscovery
impl PartialEq for Ipv4PathMtuDiscovery
impl Copy for Ipv4PathMtuDiscovery
impl Eq for Ipv4PathMtuDiscovery
impl StructuralPartialEq for Ipv4PathMtuDiscovery
Auto Trait Implementations§
impl Freeze for Ipv4PathMtuDiscovery
impl RefUnwindSafe for Ipv4PathMtuDiscovery
impl Send for Ipv4PathMtuDiscovery
impl Sync for Ipv4PathMtuDiscovery
impl Unpin for Ipv4PathMtuDiscovery
impl UnwindSafe for Ipv4PathMtuDiscovery
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