pub struct SubmissionQueue { /* private fields */ }Expand description
Queue to submit asynchronous operations to.
This type doesn’t have many public methods, but is used by all I/O types,
such as OpenOptions, to queue asynchronous operations. The queue can be
acquired by using Ring::submission_queue.
The submission queue can be shared by cloning it, it’s a cheap operation.
Implementations§
Source§impl SubmissionQueue
impl SubmissionQueue
Sourcepub fn wake(&self)
pub fn wake(&self)
Wake the connected Ring.
All this does is interrupt a call to Ring::poll.
Trait Implementations§
Source§impl Clone for SubmissionQueue
impl Clone for SubmissionQueue
Source§fn clone(&self) -> SubmissionQueue
fn clone(&self) -> SubmissionQueue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SubmissionQueue
impl RefUnwindSafe for SubmissionQueue
impl Send for SubmissionQueue
impl Sync for SubmissionQueue
impl Unpin for SubmissionQueue
impl UnwindSafe for SubmissionQueue
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