[][src]Enum syscall::io_uring::v1::RingPopError

pub enum RingPopError {
    Empty {
        pending_push: bool,
    },
    Shutdown,
}

The errors that may occur when popping from the front of a ring.

Variants

Empty

The ring was empty, which may or may not have been due to a pending push that was not completed (a retry might therefore be useful).

Fields of Empty

pending_push: bool
Shutdown

The ring was shut down for reading by either the producer or the consumer.

Trait Implementations

impl Debug for RingPopError[src]

impl Eq for RingPopError[src]

impl From<RingPopError> for Error[src]

impl PartialEq<RingPopError> for RingPopError[src]

impl StructuralEq for RingPopError[src]

impl StructuralPartialEq for RingPopError[src]

Auto Trait Implementations

impl Send for RingPopError

impl Sync for RingPopError

impl Unpin for RingPopError

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.