#[repr(C)]pub struct ifaddrs {
pub ifa_next: *mut ifaddrs,
pub ifa_name: *mut c_char,
pub ifa_flags: c_uint,
pub ifa_addr: *mut sockaddr,
pub ifa_netmask: *mut sockaddr,
pub ifa_ifu: *mut sockaddr,
pub ifa_data: *mut c_void,
}
Fields
ifa_next: *mut ifaddrs
ifa_name: *mut c_char
ifa_flags: c_uint
ifa_addr: *mut sockaddr
ifa_netmask: *mut sockaddr
ifa_ifu: *mut sockaddr
ifa_data: *mut c_void
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ifaddrs
impl !Send for ifaddrs
impl !Sync for ifaddrs
impl Unpin for ifaddrs
impl UnwindSafe for ifaddrs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more