pub struct MsghdrMut<'b, 'c, 'd, D: MaybeUninitIovecMut + ?Sized, C: Pod + ?Sized + 'c, T: SockAddr + ?Sized = sockaddr> {
pub iov: &'b mut D,
pub control: Option<&'c mut C>,
pub name: Option<&'d mut T>,
pub flags: c_int,
}
Expand description
Rusty version of a mutable c::msghdr
Use sockaddr_none_mut
to avoid type inference errors
Fields§
§iov: &'b mut D
§control: Option<&'c mut C>
§name: Option<&'d mut T>
§flags: c_int
Auto Trait Implementations§
impl<'b, 'c, 'd, D: ?Sized, C: ?Sized, T: ?Sized> Freeze for MsghdrMut<'b, 'c, 'd, D, C, T>
impl<'b, 'c, 'd, D: ?Sized, C: ?Sized, T: ?Sized> RefUnwindSafe for MsghdrMut<'b, 'c, 'd, D, C, T>
impl<'b, 'c, 'd, D: ?Sized, C: ?Sized, T: ?Sized> Send for MsghdrMut<'b, 'c, 'd, D, C, T>
impl<'b, 'c, 'd, D: ?Sized, C: ?Sized, T: ?Sized> Sync for MsghdrMut<'b, 'c, 'd, D, C, T>
impl<'b, 'c, 'd, D: ?Sized, C: ?Sized, T: ?Sized> Unpin for MsghdrMut<'b, 'c, 'd, D, C, T>
impl<'b, 'c, 'd, D, C, T = sockaddr> !UnwindSafe for MsghdrMut<'b, 'c, 'd, D, C, T>
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