#[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§
source§impl PartialEq for ifaddrs
impl PartialEq for ifaddrs
impl Copy for ifaddrs
impl Eq for ifaddrs
impl StructuralPartialEq for ifaddrs
Auto Trait Implementations§
impl Freeze for ifaddrs
impl RefUnwindSafe for ifaddrs
impl !Send for ifaddrs
impl !Sync for ifaddrs
impl Unpin for ifaddrs
impl UnwindSafe for ifaddrs
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)