[−][src]Enum netlink_packet_route::rtnl::link::nlas::Nla
Variants
A list of properties for the device. For additional context see the related linux kernel threads1,2. In particular see this message from the first thread describing the design.
protodown
is a mechanism that allows protocols to hold an interface down.
This field is used to specify the reason why it is held down.
For additional context see the related linux kernel threads1,2.
Permanent hardware address of the device. The provides the same information as the ethtool ioctl interface.
IfName(String)
Qdisc(String)
IfAlias(String)
PhysPortName(String)
AltIfName(String)
Mode(u8)
Carrier(u8)
ProtoDown(u8)
Mtu(u32)
Link(u32)
Master(u32)
TxQueueLen(u32)
NetNsPid(u32)
NumVf(u32)
Group(u32)
NetNsFd(RawFd)
ExtMask(u32)
Promiscuity(u32)
NumTxQueues(u32)
NumRxQueues(u32)
CarrierChanges(u32)
GsoMaxSegs(u32)
GsoMaxSize(u32)
MinMtu(u32)
The minimum MTU for the device. For additional context see the related linux kernel message.
MaxMtu(u32)
The maximum MTU for the device. For additional context see the related linux kernel message.
NetnsId(i32)
OperState(State)
AfSpecInet(Vec<AfSpecInet>)
Other(DefaultNla)
Trait Implementations
impl Clone for Nla
[src]
impl Debug for Nla
[src]
impl Eq for Nla
[src]
impl Nla for Nla
[src]
pub fn value_len(&self) -> usize
[src]
pub fn emit_value(&self, buffer: &mut [u8])
[src]
pub fn kind(&self) -> u16
[src]
pub fn is_nested(&self) -> bool
[src]
pub fn is_network_byteorder(&self) -> bool
[src]
impl<'a, T: AsRef<[u8]> + ?Sized> ParseableParametrized<NlaBuffer<&'a T>, u16> for Nla
[src]
pub fn parse_with_param(
buf: &NlaBuffer<&'a T>,
interface_family: u16
) -> Result<Self, DecodeError>
[src]
buf: &NlaBuffer<&'a T>,
interface_family: u16
) -> Result<Self, DecodeError>
impl PartialEq<Nla> for Nla
[src]
impl StructuralEq for Nla
[src]
impl StructuralPartialEq for Nla
[src]
Auto Trait Implementations
impl RefUnwindSafe for Nla
[src]
impl Send for Nla
[src]
impl Sync for Nla
[src]
impl Unpin for Nla
[src]
impl UnwindSafe for Nla
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Emitable for T where
T: Nla,
[src]
T: Nla,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,