pub enum GpuContextCreationError {
TooManyContextsCreated,
}
Expand description
Errors that can occur when creating a gpu context.
Variants§
TooManyContextsCreated
More than u8::MAX
contexts have been created at any point in the program.
Trait Implementations§
source§impl Debug for GpuContextCreationError
impl Debug for GpuContextCreationError
source§impl Display for GpuContextCreationError
impl Display for GpuContextCreationError
source§impl Error for GpuContextCreationError
impl Error for GpuContextCreationError
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()
Auto Trait Implementations§
impl Freeze for GpuContextCreationError
impl RefUnwindSafe for GpuContextCreationError
impl Send for GpuContextCreationError
impl Sync for GpuContextCreationError
impl Unpin for GpuContextCreationError
impl UnwindSafe for GpuContextCreationError
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