pub enum RingError {
RingFull,
RingEmpty,
NotAvailable,
InvalidIndex,
InvalidLength,
Io(Error),
}
Expand description
An error that can occur during ring operations.
Variants§
RingFull
The ring is full, and no more descriptors can be produced.
RingEmpty
The ring is empty, and no descriptors can be consumed.
NotAvailable
Not enough descriptors or frames are available for the requested operation.
InvalidIndex
An invalid index was used to access a ring descriptor.
InvalidLength
The provided data length exceeds the available space in a UMEM frame.
Io(Error)
An underlying I/O error occurred.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RingError
impl !RefUnwindSafe for RingError
impl Send for RingError
impl Sync for RingError
impl Unpin for RingError
impl !UnwindSafe for RingError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more