#[non_exhaustive]pub enum CapabilityRejectionKind {
UnsupportedFormat,
UnsupportedSampling,
UnsupportedBitDepth,
UnsupportedOperation,
MissingPreparedPlan,
UnsupportedContainer,
GeometryMismatch,
ResourceLimit,
ContextMismatch,
ContractViolation,
}Expand description
Stable category for a backend request rejected before execution.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UnsupportedFormat
The requested pixel or sample format is unsupported.
UnsupportedSampling
Component sampling is unsupported.
UnsupportedBitDepth
Sample precision or coded bitplane count is unsupported.
UnsupportedOperation
The requested decode or encode operation is unsupported.
MissingPreparedPlan
A required prepared execution plan is absent or incompatible.
UnsupportedContainer
The compressed container or transfer shape is unsupported.
GeometryMismatch
Validated dimensions, ranges, or component geometry are inconsistent.
ResourceLimit
A bounded backend resource or address range cannot represent the request.
ContextMismatch
A request belongs to a different device, context, or session.
ContractViolation
Checked internal ownership or execution state violated its contract.
Trait Implementations§
Source§impl Clone for CapabilityRejectionKind
impl Clone for CapabilityRejectionKind
Source§fn clone(&self) -> CapabilityRejectionKind
fn clone(&self) -> CapabilityRejectionKind
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 CapabilityRejectionKind
Source§impl Debug for CapabilityRejectionKind
impl Debug for CapabilityRejectionKind
impl Eq for CapabilityRejectionKind
Source§impl Hash for CapabilityRejectionKind
impl Hash for CapabilityRejectionKind
Source§impl PartialEq for CapabilityRejectionKind
impl PartialEq for CapabilityRejectionKind
impl StructuralPartialEq for CapabilityRejectionKind
Auto Trait Implementations§
impl Freeze for CapabilityRejectionKind
impl RefUnwindSafe for CapabilityRejectionKind
impl Send for CapabilityRejectionKind
impl Sync for CapabilityRejectionKind
impl Unpin for CapabilityRejectionKind
impl UnsafeUnpin for CapabilityRejectionKind
impl UnwindSafe for CapabilityRejectionKind
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