#[non_exhaustive]pub enum TimestampWritesError {
IndicesEqual {
idx: u32,
},
IndicesMissing,
}
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.
Trait Implementations§
Source§impl Clone for TimestampWritesError
impl Clone for TimestampWritesError
Source§fn clone(&self) -> TimestampWritesError
fn clone(&self) -> TimestampWritesError
Returns a duplicate 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 TimestampWritesError
impl Debug for TimestampWritesError
Source§impl Display for TimestampWritesError
impl Display for TimestampWritesError
Source§impl Error for TimestampWritesError
impl Error for TimestampWritesError
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()
Source§impl From<TimestampWritesError> for ComputePassErrorInner
impl From<TimestampWritesError> for ComputePassErrorInner
Source§fn from(source: TimestampWritesError) -> Self
fn from(source: TimestampWritesError) -> Self
Converts to this type from the input type.
Source§impl From<TimestampWritesError> for RenderPassErrorInner
impl From<TimestampWritesError> for RenderPassErrorInner
Source§fn from(source: TimestampWritesError) -> Self
fn from(source: TimestampWritesError) -> Self
Converts to this type from the input type.
Source§impl WebGpuError for TimestampWritesError
impl WebGpuError for TimestampWritesError
Source§fn webgpu_error_type(&self) -> ErrorType
fn webgpu_error_type(&self) -> ErrorType
Determine the classification of this error as a WebGPU
ErrorType
.Auto Trait Implementations§
impl Freeze for TimestampWritesError
impl RefUnwindSafe for TimestampWritesError
impl Send for TimestampWritesError
impl Sync for TimestampWritesError
impl Unpin for TimestampWritesError
impl UnwindSafe for TimestampWritesError
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