Struct io_uring::squeue::SubmissionQueue [−][src]
An io_uring instance's submission queue. This contains all the I/O operations the application sends to the kernel.
Implementations
impl SubmissionQueue[src]
pub fn need_wakeup(&self) -> bool[src]
When is_setup_sqpoll is set, whether the kernel
threads has gone to sleep and requires a system call to wake it up.
pub fn dropped(&self) -> u32[src]
The number of invalid submission queue entries that have been encountered in the ring buffer.
pub fn cq_overflow(&self) -> bool[src]
Returns true if the completion queue ring is overflown.
Requires the unstable feature.
pub fn capacity(&self) -> usize[src]
Get the total number of entries in the submission queue ring buffer.
pub fn len(&self) -> usize[src]
Get the number of submission queue events in the ring buffer.
pub fn is_empty(&self) -> bool[src]
Returns true if the submission queue ring buffer is empty.
pub fn is_full(&self) -> bool[src]
Returns true if the submission queue ring buffer has reached capacity, and no more events
can be added before the kernel consumes some.
pub fn available(&mut self) -> AvailableQueue<'_>[src]
Take a snapshot of the submission queue.
Auto Trait Implementations
impl RefUnwindSafe for SubmissionQueue[src]
impl !Send for SubmissionQueue[src]
impl !Sync for SubmissionQueue[src]
impl Unpin for SubmissionQueue[src]
impl UnwindSafe for SubmissionQueue[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,