pub enum DeviceCreationError {
VulkanError(Result),
UnconditionalMissing,
RequirementsNotMet,
LoaderCreation(LoaderError),
}Expand description
Errors that can occur during device creation.
Variants§
VulkanError(Result)
Vulkan Error.
UnconditionalMissing
There is no physical device at the index specified by DeviceBuilder::select_nth_unconditionally.
RequirementsNotMet
No physical device met the requirements.
LoaderCreation(LoaderError)
The instance loader creation failed.
Trait Implementations§
Source§impl Debug for DeviceCreationError
impl Debug for DeviceCreationError
Source§impl Display for DeviceCreationError
impl Display for DeviceCreationError
Source§impl Error for DeviceCreationError
impl Error for DeviceCreationError
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<LoaderError> for DeviceCreationError
impl From<LoaderError> for DeviceCreationError
Source§fn from(source: LoaderError) -> Self
fn from(source: LoaderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DeviceCreationError
impl RefUnwindSafe for DeviceCreationError
impl Send for DeviceCreationError
impl Sync for DeviceCreationError
impl Unpin for DeviceCreationError
impl UnwindSafe for DeviceCreationError
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