pub enum DriverRingError {
Layout,
Busy,
ChainLimitExceedsQueue,
UsedIndex,
UsedEntry,
Memory(MemoryFault),
}Expand description
Why the driver’s half could not go on.
Variants§
Layout
A part of the queue is not where the layout allows: misaligned, overlapping another, or outside memory the driver may write.
Busy
The queue cannot be reconfigured while it is ready or holds chains.
ChainLimitExceedsQueue
The queue was sized smaller than the longest chain it must hold.
UsedIndex
The device published more used entries than it holds chains.
UsedEntry
A used entry names a chain the device does not hold, or says it wrote more than the chain gave it room for.
Memory(MemoryFault)
The memory stopped answering for a ring the queue validated.
Trait Implementations§
Source§impl Clone for DriverRingError
impl Clone for DriverRingError
impl Copy for DriverRingError
Source§impl Debug for DriverRingError
impl Debug for DriverRingError
impl Eq for DriverRingError
Source§impl PartialEq for DriverRingError
impl PartialEq for DriverRingError
impl StructuralPartialEq for DriverRingError
Auto Trait Implementations§
impl Freeze for DriverRingError
impl RefUnwindSafe for DriverRingError
impl Send for DriverRingError
impl Sync for DriverRingError
impl Unpin for DriverRingError
impl UnsafeUnpin for DriverRingError
impl UnwindSafe for DriverRingError
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