Struct protoent

#[repr(C)]
pub struct protoent { pub p_name: *mut c_char, pub p_aliases: *mut *mut c_char, pub p_proto: c_int }

Fields

p_name: *mut c_char
p_aliases: *mut *mut c_char
p_proto: c_int

Trait Implementations

impl Clone for protoent

fn clone(&self) -> Self

impl Copy for protoent

impl Debug for protoent

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Default for protoent

fn default() -> Self

impl Eq for protoent

impl Hash for protoent

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for protoent

fn eq(&self, other: &Self) -> bool

impl StructuralPartialEq for protoent

Auto Trait Implementations

impl !Send for protoent

impl !Sync for protoent

impl Freeze for protoent

impl RefUnwindSafe for protoent

impl Unpin for protoent

impl UnsafeUnpin for protoent

impl UnwindSafe for protoent

Blanket Implementations

impl<T> Any for protoent where T: 'static + ?Sized,

impl<T> Borrow<T> for protoent where T: ?Sized,

impl<T> BorrowMut<T> for protoent where T: ?Sized,

impl<T> CloneToUninit for protoent where T: Clone,

impl<T> From<T> for protoent

impl<T, U> Into<U> for protoent where U: From<T>,

impl<T, U> TryFrom<U> for protoent where U: Into<T>,

impl<T, U> TryInto<U> for protoent where U: TryFrom<T>,