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_charp_aliases: *mut *mut c_charp_proto: c_int
Trait Implementations
impl Clone for protoent
fn clone(&self) -> protoent
impl Copy for protoent
impl Debug for protoent
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for protoent
impl Hash for protoent
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for protoent
fn eq(&self, other: &protoent) -> 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,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for protoent
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for protoent
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for protoent
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for protoent
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for protoent
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for protoent
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for protoent
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>