pub enum TimestampCaptureError {
Unsupported,
InvalidCapacity {
requested: u32,
},
Backend(GpuError),
}Expand description
Failure to allocate an opt-in capture.
Variants§
Unsupported
The opened device does not support pass-boundary timestamp queries.
InvalidCapacity
Capacity must be nonzero and fit the portable query-set ceiling.
Backend(GpuError)
Query allocation failed.
Trait Implementations§
Source§impl Debug for TimestampCaptureError
impl Debug for TimestampCaptureError
Source§impl Display for TimestampCaptureError
impl Display for TimestampCaptureError
Source§impl Error for TimestampCaptureError
impl Error for TimestampCaptureError
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()
Auto Trait Implementations§
impl Freeze for TimestampCaptureError
impl RefUnwindSafe for TimestampCaptureError
impl Send for TimestampCaptureError
impl Sync for TimestampCaptureError
impl Unpin for TimestampCaptureError
impl UnsafeUnpin for TimestampCaptureError
impl UnwindSafe for TimestampCaptureError
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