Struct cmsghdr
#[repr(C)]
pub struct cmsghdr { pub cmsg_len: size_t, pub cmsg_level: c_int, pub cmsg_type: c_int }
Fields
cmsg_len: size_tcmsg_level: c_intcmsg_type: c_int
Trait Implementations
impl Clone for cmsghdr
fn clone(&self) -> cmsghdr
impl Copy for cmsghdr
impl Debug for cmsghdr
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for cmsghdr
impl Hash for cmsghdr
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for cmsghdr
fn eq(&self, other: &cmsghdr) -> bool
impl StructuralPartialEq for cmsghdr
Auto Trait Implementations
impl Freeze for cmsghdr
impl RefUnwindSafe for cmsghdr
impl Send for cmsghdr
impl Sync for cmsghdr
impl Unpin for cmsghdr
impl UnsafeUnpin for cmsghdr
impl UnwindSafe for cmsghdr
Blanket Implementations
impl<T> Any for cmsghdr
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for cmsghdr
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for cmsghdr
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for cmsghdr
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for cmsghdr
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for cmsghdr
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 cmsghdr
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for cmsghdr
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>