pub struct RecvMsgMultiResult { /* private fields */ }Expand description
Result of RecvMsgMulti.
Implementations§
Source§impl RecvMsgMultiResult
impl RecvMsgMultiResult
Sourcepub unsafe fn new(buffer: BufferRef, clen: usize) -> Self
pub unsafe fn new(buffer: BufferRef, clen: usize) -> Self
Create RecvMsgMultiResult from a buffer received from
RecvMsgMulti. It should be used for io-uring only.
§Safety
The buffer must be received from RecvMsgMulti or have the same
format as the buffer received from RecvMsgMulti.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RecvMsgMultiResult
impl !RefUnwindSafe for RecvMsgMultiResult
impl !Send for RecvMsgMultiResult
impl !Sync for RecvMsgMultiResult
impl Unpin for RecvMsgMultiResult
impl UnsafeUnpin for RecvMsgMultiResult
impl !UnwindSafe for RecvMsgMultiResult
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