Struct msghdr

#[repr(C)]
pub struct msghdr { pub msg_name: *mut c_void, pub msg_namelen: socklen_t, pub msg_iov: *mut iovec, pub msg_iovlen: size_t, pub msg_control: *mut c_void, pub msg_controllen: size_t, pub msg_flags: c_int }

Fields

msg_name: *mut c_void
msg_namelen: socklen_t
msg_iov: *mut iovec
msg_iovlen: size_t
msg_control: *mut c_void
msg_controllen: size_t
msg_flags: c_int

Trait Implementations

impl Clone for msghdr

fn clone(&self) -> Self

impl Copy for msghdr

impl Debug for msghdr

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

impl Eq for msghdr

impl Hash for msghdr

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

impl PartialEq for msghdr

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

impl StructuralPartialEq for msghdr

Auto Trait Implementations

impl !Send for msghdr

impl !Sync for msghdr

impl Freeze for msghdr

impl RefUnwindSafe for msghdr

impl Unpin for msghdr

impl UnsafeUnpin for msghdr

impl UnwindSafe for msghdr

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

fn borrow_mut(&mut self) -> &mut T

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

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for msghdr

fn from(t: T) -> T

Returns the argument unchanged.

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

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

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

type Error = never;
fn try_from(value: U) -> Result<T, never>

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

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>