Enum wgpu_core::command::ComputePassErrorInner
source · pub enum ComputePassErrorInner {
Show 19 variants
Device(DeviceError),
Encoder(CommandEncoderError),
InvalidBindGroup(usize),
InvalidDevice(DeviceId),
BindGroupIndexOutOfRange {
index: u32,
max: u32,
},
InvalidPipeline(ComputePipelineId),
InvalidQuerySet(QuerySetId),
InvalidIndirectBuffer(BufferId),
IndirectBufferOverrun {
offset: u64,
end_offset: u64,
buffer_size: u64,
},
InvalidBuffer(BufferId),
ResourceUsageConflict(UsageConflict),
MissingBufferUsage(MissingBufferUsageError),
InvalidPopDebugGroup,
Dispatch(DispatchError),
Bind(BindError),
PushConstants(PushConstantUploadError),
QueryUse(QueryUseError),
MissingFeatures(MissingFeatures),
MissingDownlevelFlags(MissingDownlevelFlags),
}
Expand description
Error encountered when performing a compute pass.
Variants§
Device(DeviceError)
Encoder(CommandEncoderError)
InvalidBindGroup(usize)
InvalidDevice(DeviceId)
BindGroupIndexOutOfRange
InvalidPipeline(ComputePipelineId)
InvalidQuerySet(QuerySetId)
InvalidIndirectBuffer(BufferId)
IndirectBufferOverrun
InvalidBuffer(BufferId)
ResourceUsageConflict(UsageConflict)
MissingBufferUsage(MissingBufferUsageError)
InvalidPopDebugGroup
Dispatch(DispatchError)
Bind(BindError)
PushConstants(PushConstantUploadError)
QueryUse(QueryUseError)
MissingFeatures(MissingFeatures)
MissingDownlevelFlags(MissingDownlevelFlags)
Trait Implementations§
source§impl Clone for ComputePassErrorInner
impl Clone for ComputePassErrorInner
source§fn clone(&self) -> ComputePassErrorInner
fn clone(&self) -> ComputePassErrorInner
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ComputePassErrorInner
impl Debug for ComputePassErrorInner
source§impl Display for ComputePassErrorInner
impl Display for ComputePassErrorInner
source§impl Error for ComputePassErrorInner
impl Error for ComputePassErrorInner
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
source§impl From<BindError> for ComputePassErrorInner
impl From<BindError> for ComputePassErrorInner
source§impl From<CommandEncoderError> for ComputePassErrorInner
impl From<CommandEncoderError> for ComputePassErrorInner
source§fn from(source: CommandEncoderError) -> Self
fn from(source: CommandEncoderError) -> Self
Converts to this type from the input type.
source§impl From<DeviceError> for ComputePassErrorInner
impl From<DeviceError> for ComputePassErrorInner
source§fn from(source: DeviceError) -> Self
fn from(source: DeviceError) -> Self
Converts to this type from the input type.
source§impl From<DispatchError> for ComputePassErrorInner
impl From<DispatchError> for ComputePassErrorInner
source§fn from(source: DispatchError) -> Self
fn from(source: DispatchError) -> Self
Converts to this type from the input type.
source§impl From<MissingBufferUsageError> for ComputePassErrorInner
impl From<MissingBufferUsageError> for ComputePassErrorInner
source§fn from(source: MissingBufferUsageError) -> Self
fn from(source: MissingBufferUsageError) -> Self
Converts to this type from the input type.
source§impl From<MissingDownlevelFlags> for ComputePassErrorInner
impl From<MissingDownlevelFlags> for ComputePassErrorInner
source§fn from(source: MissingDownlevelFlags) -> Self
fn from(source: MissingDownlevelFlags) -> Self
Converts to this type from the input type.
source§impl From<MissingFeatures> for ComputePassErrorInner
impl From<MissingFeatures> for ComputePassErrorInner
source§fn from(source: MissingFeatures) -> Self
fn from(source: MissingFeatures) -> Self
Converts to this type from the input type.
source§impl From<PushConstantUploadError> for ComputePassErrorInner
impl From<PushConstantUploadError> for ComputePassErrorInner
source§fn from(source: PushConstantUploadError) -> Self
fn from(source: PushConstantUploadError) -> Self
Converts to this type from the input type.
source§impl From<QueryUseError> for ComputePassErrorInner
impl From<QueryUseError> for ComputePassErrorInner
source§fn from(source: QueryUseError) -> Self
fn from(source: QueryUseError) -> Self
Converts to this type from the input type.
source§impl PrettyError for ComputePassErrorInner
impl PrettyError for ComputePassErrorInner
fn fmt_pretty(&self, fmt: &mut ErrorFormatter<'_>)
Auto Trait Implementations§
impl !RefUnwindSafe for ComputePassErrorInner
impl Send for ComputePassErrorInner
impl Sync for ComputePassErrorInner
impl Unpin for ComputePassErrorInner
impl !UnwindSafe for ComputePassErrorInner
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