pub unsafe trait MsgBuf: Unpin + 'static {
// Required method
fn read_msghdr_ptr(&self) -> *const msghdr;
}
Expand description
Required Methods§
Sourcefn read_msghdr_ptr(&self) -> *const msghdr
fn read_msghdr_ptr(&self) -> *const msghdr
Returns a raw pointer to msghdr struct.
§Safety
The implementation must ensure that, while the runtime owns the value,
the pointer returned by stable_mut_ptr
does not change.
Also, the value pointed must be a valid msghdr struct.