pub enum Nla {
LegacyMemInfo(LegacyMemInfo),
TcpInfo(TcpInfo),
Congestion(String),
Tos(u8),
Tc(u8),
MemInfo(MemInfo),
Shutdown(u8),
Protocol(u8),
SkV6Only(bool),
Mark(u32),
ClassId(u32),
Other(DefaultNla),
}Variants§
LegacyMemInfo(LegacyMemInfo)
The memory information of the socket. This attribute is
similar to Nla::MemInfo but provides less information. On
recent kernels, Nla::MemInfo is used instead.
TcpInfo(TcpInfo)
the TCP information
Congestion(String)
the congestion control algorithm used
Tos(u8)
the TOS of the socket.
Tc(u8)
the traffic class of the socket.
MemInfo(MemInfo)
The memory information of the socket
Shutdown(u8)
Protocol(u8)
The protocol
SkV6Only(bool)
Whether the socket is IPv6 only
Mark(u32)
The mark of the socket.
ClassId(u32)
The class ID of the socket.
Other(DefaultNla)
other attribute
Trait Implementations§
impl Eq for Nla
impl StructuralPartialEq for Nla
Auto Trait Implementations§
impl Freeze for Nla
impl RefUnwindSafe for Nla
impl Send for Nla
impl Sync for Nla
impl Unpin for Nla
impl UnwindSafe for Nla
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