pub enum RayTracingPassErrorInner {
Show 20 variants
Device(DeviceError),
EncoderState(EncoderStateError),
InvalidParentEncoder,
DebugGroupError(DebugGroupError),
BindGroupIndexOutOfRange(BindGroupIndexOutOfRange),
DestroyedResource(DestroyedResourceError),
UnalignedIndirectBufferOffset(BufferAddress),
IndirectBufferOverrun {
offset: u64,
end_offset: u64,
buffer_size: u64,
},
ResourceUsageCompatibility(ResourceUsageCompatibilityError),
MissingBufferUsage(MissingBufferUsageError),
TraceRay(TraceRayError),
Bind(BindError),
ImmediateData(ImmediateUploadError),
ImmediateOffsetAlignment,
ImmediateDataizeAlignment,
ImmediateOutOfMemory,
MissingFeatures(MissingFeatures),
MissingDownlevelFlags(MissingDownlevelFlags),
PassEnded,
InvalidResource(InvalidResourceError),
}Expand description
Error encountered when performing a ray tracing pass.
Variants§
Device(DeviceError)
EncoderState(EncoderStateError)
InvalidParentEncoder
DebugGroupError(DebugGroupError)
BindGroupIndexOutOfRange(BindGroupIndexOutOfRange)
DestroyedResource(DestroyedResourceError)
UnalignedIndirectBufferOffset(BufferAddress)
IndirectBufferOverrun
ResourceUsageCompatibility(ResourceUsageCompatibilityError)
MissingBufferUsage(MissingBufferUsageError)
TraceRay(TraceRayError)
Bind(BindError)
ImmediateData(ImmediateUploadError)
ImmediateOffsetAlignment
ImmediateDataizeAlignment
ImmediateOutOfMemory
MissingFeatures(MissingFeatures)
MissingDownlevelFlags(MissingDownlevelFlags)
PassEnded
InvalidResource(InvalidResourceError)
Trait Implementations§
Source§impl Clone for RayTracingPassErrorInner
impl Clone for RayTracingPassErrorInner
Source§impl Debug for RayTracingPassErrorInner
impl Debug for RayTracingPassErrorInner
Source§impl Display for RayTracingPassErrorInner
impl Display for RayTracingPassErrorInner
Source§impl Error for RayTracingPassErrorInner
impl Error for RayTracingPassErrorInner
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()
Source§impl From<BindError> for RayTracingPassErrorInner
impl From<BindError> for RayTracingPassErrorInner
Source§impl From<DebugGroupError> for RayTracingPassErrorInner
impl From<DebugGroupError> for RayTracingPassErrorInner
Source§fn from(source: DebugGroupError) -> Self
fn from(source: DebugGroupError) -> Self
Converts to this type from the input type.
Source§impl From<DestroyedResourceError> for RayTracingPassErrorInner
impl From<DestroyedResourceError> for RayTracingPassErrorInner
Source§fn from(source: DestroyedResourceError) -> Self
fn from(source: DestroyedResourceError) -> Self
Converts to this type from the input type.
Source§impl From<DeviceError> for RayTracingPassErrorInner
impl From<DeviceError> for RayTracingPassErrorInner
Source§fn from(source: DeviceError) -> Self
fn from(source: DeviceError) -> Self
Converts to this type from the input type.
Source§impl From<EncoderStateError> for RayTracingPassErrorInner
impl From<EncoderStateError> for RayTracingPassErrorInner
Source§fn from(source: EncoderStateError) -> Self
fn from(source: EncoderStateError) -> Self
Converts to this type from the input type.
Source§impl From<ImmediateUploadError> for RayTracingPassErrorInner
impl From<ImmediateUploadError> for RayTracingPassErrorInner
Source§fn from(source: ImmediateUploadError) -> Self
fn from(source: ImmediateUploadError) -> Self
Converts to this type from the input type.
Source§impl From<InvalidOrDestroyedResourceError> for RayTracingPassErrorInner
impl From<InvalidOrDestroyedResourceError> for RayTracingPassErrorInner
Source§fn from(error: InvalidOrDestroyedResourceError) -> Self
fn from(error: InvalidOrDestroyedResourceError) -> Self
Converts to this type from the input type.
Source§impl From<InvalidResourceError> for RayTracingPassErrorInner
impl From<InvalidResourceError> for RayTracingPassErrorInner
Source§fn from(source: InvalidResourceError) -> Self
fn from(source: InvalidResourceError) -> Self
Converts to this type from the input type.
Source§impl From<MissingBufferUsageError> for RayTracingPassErrorInner
impl From<MissingBufferUsageError> for RayTracingPassErrorInner
Source§fn from(source: MissingBufferUsageError) -> Self
fn from(source: MissingBufferUsageError) -> Self
Converts to this type from the input type.
Source§impl From<MissingDownlevelFlags> for RayTracingPassErrorInner
impl From<MissingDownlevelFlags> for RayTracingPassErrorInner
Source§fn from(source: MissingDownlevelFlags) -> Self
fn from(source: MissingDownlevelFlags) -> Self
Converts to this type from the input type.
Source§impl From<MissingFeatures> for RayTracingPassErrorInner
impl From<MissingFeatures> for RayTracingPassErrorInner
Source§fn from(source: MissingFeatures) -> Self
fn from(source: MissingFeatures) -> Self
Converts to this type from the input type.
Source§impl From<TraceRayError> for RayTracingPassErrorInner
impl From<TraceRayError> for RayTracingPassErrorInner
Source§fn from(source: TraceRayError) -> Self
fn from(source: TraceRayError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for RayTracingPassErrorInner
impl !UnwindSafe for RayTracingPassErrorInner
impl Forget for RayTracingPassErrorInner
impl Freeze for RayTracingPassErrorInnerwhere
*const DeviceMismatch is !null: Freeze,
PhantomData<DeviceMismatch>: Freeze,
&'static str: Freeze,
String: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
InternalBitFlags: Freeze,
InternalBitFlags: Freeze,
InternalBitFlags: Freeze,
InternalBitFlags: Freeze,
*const BinderError is !null: Freeze,
PhantomData<BinderError>: Freeze,
InternalBitFlags: Freeze,
InternalBitFlags: Freeze,
InternalBitFlags: Freeze,
impl Move for RayTracingPassErrorInner
impl Send for RayTracingPassErrorInner
impl Sync for RayTracingPassErrorInner
impl Unpin for RayTracingPassErrorInner
impl UnsafeUnpin for RayTracingPassErrorInnerwhere
*const DeviceMismatch is !null: UnsafeUnpin,
PhantomData<DeviceMismatch>: UnsafeUnpin,
&'static str: UnsafeUnpin,
String: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
*const BinderError is !null: UnsafeUnpin,
PhantomData<BinderError>: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
InternalBitFlags: UnsafeUnpin,
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