#[repr(C)]pub struct msghdr {
pub msg_name: *mut c_void,
pub msg_namelen: u32,
pub msg_iov: *mut iovec,
pub msg_iovlen: i32,
pub msg_control: *mut c_void,
pub msg_controllen: u32,
pub msg_flags: i32,
/* private fields */
}
Available on crate feature
socket
only.Fields
msg_name: *mut c_void
msg_namelen: u32
msg_iov: *mut iovec
msg_iovlen: i32
msg_control: *mut c_void
msg_controllen: u32
msg_flags: i32
Trait Implementations
impl Copy for msghdr
impl Eq for msghdr
impl StructuralEq for msghdr
impl StructuralPartialEq for msghdr
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 · sourcefn borrow_mut(&mut self) -> &mut T
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.
sourcefn clone_into(&self, target: &mut T)
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