Struct compio_driver::op::Send
source · pub struct Send<T: IoBuf> { /* private fields */ }
Expand description
Send data to remote.
Implementations§
Trait Implementations§
source§impl<T: IoBuf> OpCode for Send<T>
impl<T: IoBuf> OpCode for Send<T>
source§fn pre_submit(self: Pin<&mut Self>) -> Result<Decision>
fn pre_submit(self: Pin<&mut Self>) -> Result<Decision>
Perform the operation before submit, and return
Decision
to
indicate whether submitting the operation to polling is required.source§fn on_event(self: Pin<&mut Self>, event: &Event) -> Poll<Result<usize>>
fn on_event(self: Pin<&mut Self>, event: &Event) -> Poll<Result<usize>>
Perform the operation after received corresponding
event.
source§fn is_nonblocking(&self) -> bool
fn is_nonblocking(&self) -> bool
Determines that the operation is really non-blocking defined by POSIX.
If not, the driver will try to operate it in another thread.
Auto Trait Implementations§
impl<T> RefUnwindSafe for Send<T>where T: RefUnwindSafe,
impl<T> Send for Send<T>where T: Send,
impl<T> Sync for Send<T>where T: Sync,
impl<T> Unpin for Send<T>
impl<T> UnwindSafe for Send<T>where T: UnwindSafe,
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