Trait WebGpuError
pub trait WebGpuError: Error + 'static {
// Required method
fn webgpu_error_type(&self) -> ErrorType;
}Available on crate feature
unstable-wgpu-29 only.Expand description
Required Methods§
fn webgpu_error_type(&self) -> ErrorType
fn webgpu_error_type(&self) -> ErrorType
Determine the classification of this error as a WebGPU ErrorType.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".