Struct libnotcurses_sys::ffi::cmsghdr[][src]

#[repr(C)]
pub struct cmsghdr { pub cmsg_len: size_t, pub cmsg_level: c_int, pub cmsg_type: c_int, pub __cmsg_data: __IncompleteArrayField<c_uchar>, }
Expand description

Structure used for storage of ancillary data object information.

Fields

cmsg_len: size_t

Length of data in cmsg_data plus length of cmsghdr structure. The type should be socklen_t but the definition of the kernel is incompatible with this.

cmsg_level: c_int

Originating protocol.

cmsg_type: c_int

Protocol specific type.

__cmsg_data: __IncompleteArrayField<c_uchar>

Ancillary data.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.