#[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_dstaddr: *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_dstaddr: *mut sockaddr
§ifa_data: *mut c_void
Trait Implementations§
source§impl PartialEq<ifaddrs> for ifaddrs
impl PartialEq<ifaddrs> for ifaddrs
impl Copy for ifaddrs
impl Eq for ifaddrs
impl StructuralEq for ifaddrs
impl StructuralPartialEq for ifaddrs
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§
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