Struct io_uring::SubmitQueue
source · pub struct SubmitQueue {
submit_ring: SubmitQueueState,
submit_queue_entries: SubmitQueueEntries,
submitting: usize,
pub added: usize,
num_sqes: usize,
}
Fields§
§submit_ring: SubmitQueueState
§submit_queue_entries: SubmitQueueEntries
§submitting: usize
§added: usize
§num_sqes: usize
Implementations§
source§impl SubmitQueue
impl SubmitQueue
fn prep_next_sqe<F>(&mut self, f: F) -> Result<()>where
F: FnMut(&mut io_uring_sqe),
fn prepare_submit(&mut self) -> usize
fn fail_submit(&mut self, count: usize)
fn complete_submit(&mut self, count: usize)
Auto Trait Implementations§
impl RefUnwindSafe for SubmitQueue
impl Send for SubmitQueue
impl Sync for SubmitQueue
impl Unpin for SubmitQueue
impl UnwindSafe for SubmitQueue
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