[][src]Enum rio::Ordering

pub enum Ordering {
    None,
    Link,
    Drain,
}

Specify whether io_uring should run operations in a specific order. By default, it will run independent operations in any order it can to speed things up. This can be constrained by either submitting chains of Link events, which are executed one after the other, or by specifying the Drain ordering which causes all previously submitted operations to complete first.

Variants

None

No ordering requirements

Ordering::Link causes the next submitted operation to wait until this one finishes. Useful for things like file copy, fsync-after-write, or proxies.

Drain

Ordering::Drain causes all previously submitted operations to complete before this one begins.

Trait Implementations

impl Clone for Ordering[src]

impl Copy for Ordering[src]

impl Debug for Ordering[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.