pub enum StartErrorKind<QE, CE> {
NeedsReset,
DiscoveryRequired,
InflightLimit,
RequestIdExhausted,
StaleHandle,
InvalidArgument,
DeviceLimit,
RequestCapacity {
required: u64,
available: u64,
},
ResponseCapacity {
required: u64,
available: u64,
},
SourceAccess(ByteAccessError),
ChainAccess(CE),
Publish(PublishErrorKind<QE>),
}Expand description
Failure before request ownership transfers to the queue.
Variants§
NeedsReset
A prior malformed completion requires reset.
DiscoveryRequired
Device information must be discovered first.
InflightLimit
Every bounded tracking slot is occupied.
RequestIdExhausted
No request identifier could be selected without aliasing live work.
StaleHandle
A typed handle belongs to a prior queue epoch.
InvalidArgument
Typed arguments contradict retained object bounds or usage.
DeviceLimit
A request exceeds an advertised semantic device limit.
RequestCapacity
The device-readable chain length is not the exact request frame length.
ResponseCapacity
The device-writable chain cannot hold the largest valid response.
SourceAccess(ByteAccessError)
The caller-provided request source could not be read.
ChainAccess(CE)
The chain request region could not be written.
Publish(PublishErrorKind<QE>)
Queue publication failed before ownership transfer.
Trait Implementations§
impl<QE: Eq, CE: Eq> Eq for StartErrorKind<QE, CE>
Source§impl<QE: PartialEq, CE: PartialEq> PartialEq for StartErrorKind<QE, CE>
impl<QE: PartialEq, CE: PartialEq> PartialEq for StartErrorKind<QE, CE>
Source§fn eq(&self, other: &StartErrorKind<QE, CE>) -> bool
fn eq(&self, other: &StartErrorKind<QE, CE>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<QE: PartialEq, CE: PartialEq> StructuralPartialEq for StartErrorKind<QE, CE>
Auto Trait Implementations§
impl<QE, CE> Freeze for StartErrorKind<QE, CE>
impl<QE, CE> RefUnwindSafe for StartErrorKind<QE, CE>where
CE: RefUnwindSafe,
QE: RefUnwindSafe,
impl<QE, CE> Send for StartErrorKind<QE, CE>
impl<QE, CE> Sync for StartErrorKind<QE, CE>
impl<QE, CE> Unpin for StartErrorKind<QE, CE>
impl<QE, CE> UnsafeUnpin for StartErrorKind<QE, CE>where
CE: UnsafeUnpin,
QE: UnsafeUnpin,
impl<QE, CE> UnwindSafe for StartErrorKind<QE, CE>where
CE: UnwindSafe,
QE: UnwindSafe,
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