pub enum SplitQueueError {
AllocationFailed,
Busy,
ChainLimitExceedsQueue,
MalformedDriverChain(MalformedChain),
InvalidTestState,
CorruptState,
}Expand description
Concrete failure in the in-memory split-ring model.
Variants§
AllocationFailed
Allocation of configured ring storage failed.
Busy
Reconfiguration would discard chains still owned by the queue.
ChainLimitExceedsQueue
The configured queue is smaller than the queue’s descriptor-chain limit.
MalformedDriverChain(MalformedChain)
A normal driver publication supplied a malformed chain.
InvalidTestState
A deterministic test hook supplied an invalid counter or descriptor index.
CorruptState
Internal ring ownership does not match the published indices.
Trait Implementations§
Source§impl Clone for SplitQueueError
impl Clone for SplitQueueError
Source§fn clone(&self) -> SplitQueueError
fn clone(&self) -> SplitQueueError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SplitQueueError
Source§impl Debug for SplitQueueError
impl Debug for SplitQueueError
impl Eq for SplitQueueError
Source§impl PartialEq for SplitQueueError
impl PartialEq for SplitQueueError
impl StructuralPartialEq for SplitQueueError
Auto Trait Implementations§
impl Freeze for SplitQueueError
impl RefUnwindSafe for SplitQueueError
impl Send for SplitQueueError
impl Sync for SplitQueueError
impl Unpin for SplitQueueError
impl UnsafeUnpin for SplitQueueError
impl UnwindSafe for SplitQueueError
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