Struct linux_raw_sys::general::msghdr
source · [−]#[repr(C)]pub struct msghdr {
pub msg_name: *mut c_void,
pub msg_namelen: c_int,
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_uint,
}Fields
msg_name: *mut c_voidmsg_namelen: c_intmsg_iov: *mut iovecmsg_iovlen: size_tmsg_control: *mut c_voidmsg_controllen: size_tmsg_flags: c_uintTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for msghdr
impl !Send for msghdr
impl !Sync for msghdr
impl Unpin for msghdr
impl UnwindSafe for msghdr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more