[][src]Struct iou::SQEs

pub struct SQEs<'ring> { /* fields omitted */ }

A sequence of SQEs from the SubmissionQueue.

Implementations

impl<'ring> SQEs<'ring>[src]

pub fn single(&mut self) -> Option<SQE<'ring>>[src]

Consumes all remaining SQEs, returning the last one. Subsequent attempts to get additional SQEs will return None.

pub fn hard_linked(&mut self) -> HardLinked<'ring, '_>

Notable traits for HardLinked<'ring, '_>

impl<'ring, '_> Iterator for HardLinked<'ring, '_> type Item = HardLinkedSQE<'ring>;
[src]

An iterator of HardLinkedSQEs. These will be SQEs that are hard-linked together.

Hard-linked SQEs will occur sequentially. All of them will be completed, even if one of the events resolves to an error.

pub fn soft_linked(&mut self) -> SoftLinked<'ring, '_>

Notable traits for SoftLinked<'ring, '_>

impl<'ring, '_> Iterator for SoftLinked<'ring, '_> type Item = SoftLinkedSQE<'ring>;
[src]

An iterator of SoftLinkedSQEs. These will be SQEs that are soft-linked together.

Soft-linked SQEs will occur sequentially. If one the events errors, all events after it will be cancelled.

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

Remaining SQEs that can be modified.

Trait Implementations

impl<'ring> Iterator for SQEs<'ring>[src]

type Item = SQE<'ring>

The type of the elements being iterated over.

Auto Trait Implementations

impl<'ring> RefUnwindSafe for SQEs<'ring>

impl<'ring> Send for SQEs<'ring>

impl<'ring> Sync for SQEs<'ring>

impl<'ring> Unpin for SQEs<'ring>

impl<'ring> !UnwindSafe for SQEs<'ring>

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<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

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.