Enum screen_13::driver::DriverError
source · pub enum DriverError {
InvalidData,
Unsupported,
OutOfMemory,
}
Expand description
Describes the general category of all graphics driver failure cases.
In the event of a failure you should follow the Screen 13 code to the responsible Vulkan API
and then to the Ash
stub call; it will generally contain a link to the appropriate
specification. The specifications provide a table of possible error conditions which can be a
good starting point to debug the issue.
Feel free to open an issue on GitHub, here for help debugging the issue.
Variants§
InvalidData
The input data, or referenced data, is not valid for the current state.
Unsupported
The requested feature, or input configuration, is not supported for the current state.
OutOfMemory
The device has run out of physical memory.
Many drivers return this value for generic or unhandled error conditions.
Trait Implementations§
source§impl Debug for DriverError
impl Debug for DriverError
source§impl Display for DriverError
impl Display for DriverError
source§impl Error for DriverError
impl Error for DriverError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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<DriverError> for DisplayError
impl From<DriverError> for DisplayError
source§fn from(err: DriverError) -> Self
fn from(err: DriverError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for DriverError
impl Send for DriverError
impl Sync for DriverError
impl Unpin for DriverError
impl UnwindSafe for DriverError
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