pub struct IpDontFrag;
Available on crate feature
socket
only.Expand description
Set “don’t fragment packet” flag on the IP packet.
Trait Implementations§
source§impl Clone for IpDontFrag
impl Clone for IpDontFrag
source§fn clone(&self) -> IpDontFrag
fn clone(&self) -> IpDontFrag
Returns a copy 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 IpDontFrag
impl Debug for IpDontFrag
source§impl GetSockOpt for IpDontFrag
impl GetSockOpt for IpDontFrag
source§impl Hash for IpDontFrag
impl Hash for IpDontFrag
source§impl PartialEq for IpDontFrag
impl PartialEq for IpDontFrag
source§fn eq(&self, other: &IpDontFrag) -> bool
fn eq(&self, other: &IpDontFrag) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SetSockOpt for IpDontFrag
impl SetSockOpt for IpDontFrag
impl Copy for IpDontFrag
impl Eq for IpDontFrag
impl StructuralPartialEq for IpDontFrag
Auto Trait Implementations§
impl Freeze for IpDontFrag
impl RefUnwindSafe for IpDontFrag
impl Send for IpDontFrag
impl Sync for IpDontFrag
impl Unpin for IpDontFrag
impl UnwindSafe for IpDontFrag
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