#[repr(C)]pub struct netent {
pub n_name: *mut c_char,
pub n_aliases: *mut *mut c_char,
pub n_addrtype: c_int,
pub n_net: u32,
}Fields§
§n_name: *mut c_char§n_aliases: *mut *mut c_char§n_addrtype: c_int§n_net: u32Trait Implementations§
Source§impl Ord for netent
impl Ord for netent
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for netent
impl PartialOrd for netent
impl Copy for netent
impl Eq for netent
impl StructuralPartialEq for netent
Auto Trait Implementations§
impl Freeze for netent
impl RefUnwindSafe for netent
impl !Send for netent
impl !Sync for netent
impl Unpin for netent
impl UnsafeUnpin for netent
impl UnwindSafe for netent
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