pub enum GraphicsError {
Show 15 variants
ConnotInitLibrary,
NotSupportedSystem,
NotSupportedDevice,
NoDevice,
NotSupportedPresent,
PresentError,
TransferError,
RenderingError,
SyncError,
ResourceError,
ShaderError,
MemoryError,
DataError,
ImageError,
DebugError,
}Expand description
§Unified error enum
Variants§
ConnotInitLibrary
Happens on unexpected library error
NotSupportedSystem
Happens on software missing support
NotSupportedDevice
Happens on hardware missing support
NoDevice
Happens on device lack
NotSupportedPresent
Happens on hardware missing support or window server missing capability
PresentError
Happens on image present error
TransferError
Happens on unified transfer/compute error
RenderingError
Happens on rendering error
SyncError
Happens on GPU sync error
ResourceError
Happens on resource error, for example on drop
ShaderError
Happens on shader compilation/capability error
MemoryError
Happens on GPU memory error
DataError
Happens on unified shader data error
ImageError
Happens on image error
DebugError
Happens on debug error
Trait Implementations§
Source§impl Debug for GraphicsError
impl Debug for GraphicsError
Auto Trait Implementations§
impl Freeze for GraphicsError
impl RefUnwindSafe for GraphicsError
impl Send for GraphicsError
impl Sync for GraphicsError
impl Unpin for GraphicsError
impl UnwindSafe for GraphicsError
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