pub struct Ipv4RecvTtl;Expand description
Enables a receiving socket to retrieve the Time-to-Live (TTL) field from incoming IPv4 packets.
Trait Implementations§
Source§impl Clone for Ipv4RecvTtl
impl Clone for Ipv4RecvTtl
Source§fn clone(&self) -> Ipv4RecvTtl
fn clone(&self) -> Ipv4RecvTtl
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 Ipv4RecvTtl
impl Debug for Ipv4RecvTtl
Source§impl GetSockOpt for Ipv4RecvTtl
impl GetSockOpt for Ipv4RecvTtl
Source§impl Hash for Ipv4RecvTtl
impl Hash for Ipv4RecvTtl
Source§impl PartialEq for Ipv4RecvTtl
impl PartialEq for Ipv4RecvTtl
Source§fn eq(&self, other: &Ipv4RecvTtl) -> bool
fn eq(&self, other: &Ipv4RecvTtl) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl SetSockOpt for Ipv4RecvTtl
impl SetSockOpt for Ipv4RecvTtl
impl Copy for Ipv4RecvTtl
impl Eq for Ipv4RecvTtl
impl StructuralPartialEq for Ipv4RecvTtl
Auto Trait Implementations§
impl Freeze for Ipv4RecvTtl
impl RefUnwindSafe for Ipv4RecvTtl
impl Send for Ipv4RecvTtl
impl Sync for Ipv4RecvTtl
impl Unpin for Ipv4RecvTtl
impl UnsafeUnpin for Ipv4RecvTtl
impl UnwindSafe for Ipv4RecvTtl
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