pub enum IpCmsg {
Ipv4Ttl(u8),
Ipv4Tos(u8),
Ipv6TrafficClass(u8),
}Expand description
IP ancillary data reported through recvmsg.
Variants§
Ipv4Ttl(u8)
IPv4 hop limit for IP_RECVTTL.
Ipv4Tos(u8)
IPv4 TOS byte for IP_RECVTOS.
Ipv6TrafficClass(u8)
IPv6 traffic-class byte for IPV6_RECVTCLASS.
Trait Implementations§
impl Copy for IpCmsg
impl Eq for IpCmsg
impl StructuralPartialEq for IpCmsg
Auto Trait Implementations§
impl Freeze for IpCmsg
impl RefUnwindSafe for IpCmsg
impl Send for IpCmsg
impl Sync for IpCmsg
impl Unpin for IpCmsg
impl UnsafeUnpin for IpCmsg
impl UnwindSafe for IpCmsg
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DmaPod for Twhere
T: Copy,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.