[−][src]Struct neli::rtnl::Ifaddrmsg
Struct representing interface address messages
Fields
ifa_family: RtAddrFamily
Interface address family
ifa_prefixlen: c_uchar
Interface address prefix length
ifa_flags: IfaFFlags
Interface address flags
ifa_scope: c_uchar
Interface address scope
ifa_index: c_int
Interface address index
rtattrs: RtBuffer<Ifa, Buffer>
Payload of Rtattr
s
Trait Implementations
impl Debug for Ifaddrmsg
[src]
impl Nl for Ifaddrmsg
[src]
pub fn serialize(&self, mem: SerBuffer<'_>) -> Result<(), SerError>
[src]
pub fn deserialize(mem: DeBuffer<'_>) -> Result<Self, DeError>
[src]
pub fn size(&self) -> usize
[src]
pub fn type_size() -> Option<usize>
[src]
pub fn type_asize() -> Option<usize>
[src]
pub fn asize(&self) -> usize
[src]
pub fn pad(&self, mem: SerBuffer<'_>) -> Result<(), SerError>
[src]
Auto Trait Implementations
impl RefUnwindSafe for Ifaddrmsg
[src]
impl Send for Ifaddrmsg
[src]
impl Sync for Ifaddrmsg
[src]
impl Unpin for Ifaddrmsg
[src]
impl UnwindSafe for Ifaddrmsg
[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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,