#[non_exhaustive]pub enum WgpuScanBatchSegmentationError {
EmptyBatch,
ZeroChunksPerCommandEncoder,
BindGroupCountMismatch {
command_encoder_count: u32,
bind_group_reuse_count: u32,
bind_group_create_count: u32,
},
CopyCountOverflow,
ZeroMatchDigest,
MatchDigestMismatch {
expected_match_digest: u64,
actual_match_digest: u64,
},
}Expand description
WGPU scan batch segmentation evidence error.
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.
EmptyBatch
The batch contains no chunks.
ZeroChunksPerCommandEncoder
The command encoder segmentation limit is zero.
BindGroupCountMismatch
Bind group counts do not account for every command encoder.
Fields
CopyCountOverflow
Copy count overflowed the evidence ABI.
ZeroMatchDigest
👎Deprecated:
wgpu_scan_batch_segmentation_evidence no longer rejects zero digests; zero is a valid digest for a corpus with no matches
Match digest was absent (both digests were zero).
Deprecated: wgpu_scan_batch_segmentation_evidence no longer emits
this variant. Zero is a legitimate digest value for a corpus that fires
zero rules; matched zero digests are valid evidence. This variant is
retained for ABI compatibility with existing match arms.
MatchDigestMismatch
WGPU output digest diverged from the oracle.
Trait Implementations§
Source§impl Clone for WgpuScanBatchSegmentationError
impl Clone for WgpuScanBatchSegmentationError
Source§fn clone(&self) -> WgpuScanBatchSegmentationError
fn clone(&self) -> WgpuScanBatchSegmentationError
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 Eq for WgpuScanBatchSegmentationError
Source§impl Error for WgpuScanBatchSegmentationError
impl Error for WgpuScanBatchSegmentationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl StructuralPartialEq for WgpuScanBatchSegmentationError
Auto Trait Implementations§
impl Freeze for WgpuScanBatchSegmentationError
impl RefUnwindSafe for WgpuScanBatchSegmentationError
impl Send for WgpuScanBatchSegmentationError
impl Sync for WgpuScanBatchSegmentationError
impl Unpin for WgpuScanBatchSegmentationError
impl UnsafeUnpin for WgpuScanBatchSegmentationError
impl UnwindSafe for WgpuScanBatchSegmentationError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.