#[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§
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§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut u8)
unsafe fn clone_to_uninit(&self, dst: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)