pub enum DeviceRingError {
Layout,
ChainLimitExceedsQueue,
Busy,
AvailableIndex,
HeadInFlight,
Memory(MemoryFault),
}Expand description
Why the device’s half could not go on. Each is the driver’s doing, and none is one chain’s: a device that sees one stops serving the queue and asks for a reset.
Variants§
Layout
A part of the queue is not where the layout allows: misaligned, overlapping another, or outside memory the device may reach.
ChainLimitExceedsQueue
The queue was made ready smaller than the longest chain it must hold.
Busy
The queue cannot be reconfigured while it is ready.
AvailableIndex
The available index is further ahead than the queue is long.
HeadInFlight
A head was published that the device already holds.
Memory(MemoryFault)
The memory stopped answering for a ring the queue validated.
Trait Implementations§
Source§impl Clone for DeviceRingError
impl Clone for DeviceRingError
impl Copy for DeviceRingError
Source§impl Debug for DeviceRingError
impl Debug for DeviceRingError
impl Eq for DeviceRingError
Source§impl PartialEq for DeviceRingError
impl PartialEq for DeviceRingError
impl StructuralPartialEq for DeviceRingError
Auto Trait Implementations§
impl Freeze for DeviceRingError
impl RefUnwindSafe for DeviceRingError
impl Send for DeviceRingError
impl Sync for DeviceRingError
impl Unpin for DeviceRingError
impl UnsafeUnpin for DeviceRingError
impl UnwindSafe for DeviceRingError
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