#[repr(C)]pub struct cmsghdr {
pub cmsg_len: usize,
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: usizeLength 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_intOriginating protocol.
cmsg_type: c_intProtocol specific type.
__cmsg_data: __IncompleteArrayField<c_uchar>Ancillary data.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for cmsghdr
impl RefUnwindSafe for cmsghdr
impl Send for cmsghdr
impl Sync for cmsghdr
impl Unpin for cmsghdr
impl UnwindSafe for cmsghdr
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