pub struct RecvFromMultiResult { /* private fields */ }Expand description
Result of RecvFromMulti.
Implementations§
Source§impl RecvFromMultiResult
impl RecvFromMultiResult
Sourcepub unsafe fn new(buffer: BufferRef) -> RecvFromMultiResult
pub unsafe fn new(buffer: BufferRef) -> RecvFromMultiResult
Create RecvFromMultiResult from a buffer received from
RecvFromMulti. It should be used for io-uring only.
§Safety
The buffer must be received from RecvFromMulti or have the same
format as the buffer received from RecvFromMulti.
Trait Implementations§
Source§impl From<RecvFromMultiResult> for RecvFromMultiResult
impl From<RecvFromMultiResult> for RecvFromMultiResult
Source§fn from(result: RecvFromMultiResult) -> RecvFromMultiResult
fn from(result: RecvFromMultiResult) -> RecvFromMultiResult
Converts to this type from the input type.
Source§impl From<RecvFromMultiResult> for RecvFromMultiResult
impl From<RecvFromMultiResult> for RecvFromMultiResult
Source§fn from(result: RecvFromMultiResult) -> RecvFromMultiResult
fn from(result: RecvFromMultiResult) -> RecvFromMultiResult
Converts to this type from the input type.
Source§impl IntoInner for RecvFromMultiResult
impl IntoInner for RecvFromMultiResult
Source§fn into_inner(self) -> <RecvFromMultiResult as IntoInner>::Inner
fn into_inner(self) -> <RecvFromMultiResult as IntoInner>::Inner
Get the inner buffer.
Auto Trait Implementations§
impl Freeze for RecvFromMultiResult
impl !RefUnwindSafe for RecvFromMultiResult
impl !Send for RecvFromMultiResult
impl !Sync for RecvFromMultiResult
impl Unpin for RecvFromMultiResult
impl UnsafeUnpin for RecvFromMultiResult
impl !UnwindSafe for RecvFromMultiResult
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more