Enum wgpu_core::command::ComputePassErrorInner
source · [−]pub enum ComputePassErrorInner {
Show 17 variants
Encoder(CommandEncoderError),
InvalidBindGroup(BindGroupId),
BindGroupIndexOutOfRange {
index: u8,
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
Encoder(CommandEncoderError)
InvalidBindGroup(BindGroupId)
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
sourceimpl Clone for ComputePassErrorInner
impl Clone for ComputePassErrorInner
sourcefn clone(&self) -> ComputePassErrorInner
fn clone(&self) -> ComputePassErrorInner
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ComputePassErrorInner
impl Debug for ComputePassErrorInner
sourceimpl Display for ComputePassErrorInner
impl Display for ComputePassErrorInner
sourceimpl Error for ComputePassErrorInner
impl Error for ComputePassErrorInner
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<BindError> for ComputePassErrorInner
impl From<BindError> for ComputePassErrorInner
sourceimpl From<CommandEncoderError> for ComputePassErrorInner
impl From<CommandEncoderError> for ComputePassErrorInner
sourcefn from(source: CommandEncoderError) -> Self
fn from(source: CommandEncoderError) -> Self
Converts to this type from the input type.
sourceimpl From<DispatchError> for ComputePassErrorInner
impl From<DispatchError> for ComputePassErrorInner
sourcefn from(source: DispatchError) -> Self
fn from(source: DispatchError) -> Self
Converts to this type from the input type.
sourceimpl From<MissingDownlevelFlags> for ComputePassErrorInner
impl From<MissingDownlevelFlags> for ComputePassErrorInner
sourcefn from(source: MissingDownlevelFlags) -> Self
fn from(source: MissingDownlevelFlags) -> Self
Converts to this type from the input type.
sourceimpl From<MissingFeatures> for ComputePassErrorInner
impl From<MissingFeatures> for ComputePassErrorInner
sourcefn from(source: MissingFeatures) -> Self
fn from(source: MissingFeatures) -> Self
Converts to this type from the input type.
sourceimpl From<PushConstantUploadError> for ComputePassErrorInner
impl From<PushConstantUploadError> for ComputePassErrorInner
sourcefn from(source: PushConstantUploadError) -> Self
fn from(source: PushConstantUploadError) -> Self
Converts to this type from the input type.
sourceimpl From<QueryUseError> for ComputePassErrorInner
impl From<QueryUseError> for ComputePassErrorInner
sourcefn from(source: QueryUseError) -> Self
fn from(source: QueryUseError) -> Self
Converts to this type from the input type.
sourceimpl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more