#[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 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,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 56 bytes