[][src]Struct io_uring::concurrent::SubmissionQueue

pub struct SubmissionQueue<'a> { /* fields omitted */ }

Implementations

impl<'_> SubmissionQueue<'_>[src]

pub fn need_wakeup(&self) -> bool[src]

pub fn dropped(&self) -> u32[src]

pub fn capacity(&self) -> usize[src]

pub fn len(&self) -> usize[src]

pub fn is_empty(&self) -> bool[src]

pub fn is_full(&self) -> bool[src]

pub unsafe fn push(&self, Entry: Entry) -> Result<(), Entry>[src]

Attempts to push an Entry into the queue. If the queue is full, the element is returned back as an error.

Safety

Developers must ensure that parameters of the Entry (such as buffer) are valid, otherwise it may cause memory problems.

Auto Trait Implementations

impl<'a> !RefUnwindSafe for SubmissionQueue<'a>[src]

impl<'a> !Send for SubmissionQueue<'a>[src]

impl<'a> !Sync for SubmissionQueue<'a>[src]

impl<'a> Unpin for SubmissionQueue<'a>[src]

impl<'a> !UnwindSafe for SubmissionQueue<'a>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.