pub struct MsgHdr { /* private fields */ }Implementations§
Source§impl MsgHdr
impl MsgHdr
pub fn empty() -> Self
pub fn set_name_ptr(&mut self, ptr: *mut c_void, len: u32)
pub fn set_namelen(&mut self, len: u32)
pub fn set_iov(&mut self, iov: &[IoVec])
pub fn set_control(&mut self, ptr: *mut c_void, len: usize)
pub fn flags(&self) -> c_int
pub fn raw(&self) -> &msghdr
pub fn as_mut_ptr(&mut self) -> *mut msghdr
Trait Implementations§
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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more