Struct SendMsg
pub struct SendMsg<T, C, S>where
T: IoVectoredBuf,
C: IoBuf,{ /* private fields */ }Expand description
Send data to specified address accompanied by ancillary data from vectored buffer.
Implementations§
Trait Implementations§
§impl<T, C, S> IntoInner for SendMsg<T, C, S>where
T: IoVectoredBuf,
C: IoBuf,
impl<T, C, S> IntoInner for SendMsg<T, C, S>where
T: IoVectoredBuf,
C: IoBuf,
§impl<T, C, S> OpCode for SendMsg<T, C, S>
impl<T, C, S> OpCode for SendMsg<T, C, S>
§type Control = SendMsgControl
type Control = SendMsgControl
Type that contains self-references and other needed info during the
operation
§unsafe fn init(&mut self, ctrl: &mut <SendMsg<T, C, S> as OpCode>::Control)
unsafe fn init(&mut self, ctrl: &mut <SendMsg<T, C, S> as OpCode>::Control)
Initialize the control Read more
§fn pre_submit(
&mut self,
control: &mut <SendMsg<T, C, S> as OpCode>::Control,
) -> Result<Decision, Error>
fn pre_submit( &mut self, control: &mut <SendMsg<T, C, S> as OpCode>::Control, ) -> Result<Decision, Error>
Perform the operation before submit, and return
Decision to
indicate whether submitting the operation to polling is required.§fn op_type(
&mut self,
_: &mut <SendMsg<T, C, S> as OpCode>::Control,
) -> Option<OpType>
fn op_type( &mut self, _: &mut <SendMsg<T, C, S> as OpCode>::Control, ) -> Option<OpType>
Get the operation type when an event is occurred.
Auto Trait Implementations§
impl<T, C, S> Freeze for SendMsg<T, C, S>
impl<T, C, S> RefUnwindSafe for SendMsg<T, C, S>
impl<T, C, S> Send for SendMsg<T, C, S>
impl<T, C, S> Sync for SendMsg<T, C, S>
impl<T, C, S> Unpin for SendMsg<T, C, S>
impl<T, C, S> UnsafeUnpin for SendMsg<T, C, S>
impl<T, C, S> UnwindSafe for SendMsg<T, C, S>
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