[][src]Struct uapi::Msghdr

pub struct Msghdr<'a, D: MaybeUninitIovec + ?Sized, C: ?Sized, T: SockAddr + ?Sized> {
    pub iov: &'a D,
    pub control: Option<&'a C>,
    pub name: Option<&'a T>,
}

Rusty version of an immutable c::msghdr

Use sockaddr_none_ref to avoid type inference errors

Fields

iov: &'a Dcontrol: Option<&'a C>name: Option<&'a T>

Auto Trait Implementations

impl<'a, D: ?Sized, C: ?Sized, T: ?Sized> RefUnwindSafe for Msghdr<'a, D, C, T> where
    C: RefUnwindSafe,
    D: RefUnwindSafe,
    T: RefUnwindSafe
[src]

impl<'a, D: ?Sized, C: ?Sized, T: ?Sized> Send for Msghdr<'a, D, C, T> where
    C: Sync,
    D: Sync,
    T: Sync
[src]

impl<'a, D: ?Sized, C: ?Sized, T: ?Sized> Sync for Msghdr<'a, D, C, T> where
    C: Sync,
    D: Sync,
    T: Sync
[src]

impl<'a, D: ?Sized, C: ?Sized, T: ?Sized> Unpin for Msghdr<'a, D, C, T>[src]

impl<'a, D: ?Sized, C: ?Sized, T: ?Sized> UnwindSafe for Msghdr<'a, D, C, T> where
    C: RefUnwindSafe,
    D: RefUnwindSafe,
    T: RefUnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.