Enum vulkano::device::DeviceCreationError
source · [−]pub enum DeviceCreationError {
InitializationFailed,
TooManyObjects,
DeviceLost,
FeatureNotPresent,
ExtensionNotPresent,
TooManyQueuesForFamily,
PriorityOutOfRange,
OutOfHostMemory,
OutOfDeviceMemory,
ExtensionRestrictionNotMet(ExtensionRestrictionError),
FeatureRestrictionNotMet(FeatureRestrictionError),
}
Expand description
Error that can be returned when creating a device.
Variants
InitializationFailed
Failed to create the device for an implementation-specific reason.
TooManyObjects
You have reached the limit to the number of devices that can be created from the same physical device.
DeviceLost
Failed to connect to the device.
FeatureNotPresent
Some of the requested features are unsupported by the physical device.
ExtensionNotPresent
Some of the requested device extensions are not supported by the physical device.
TooManyQueuesForFamily
Tried to create too many queues for a given family.
PriorityOutOfRange
The priority of one of the queues is out of the [0.0; 1.0] range.
OutOfHostMemory
There is no memory available on the host (ie. the CPU, RAM, etc.).
OutOfDeviceMemory
There is no memory available on the device (ie. video memory).
ExtensionRestrictionNotMet(ExtensionRestrictionError)
A restriction for an extension was not met.
FeatureRestrictionNotMet(FeatureRestrictionError)
A restriction for a feature was not met.
Trait Implementations
sourceimpl Clone for DeviceCreationError
impl Clone for DeviceCreationError
sourcefn clone(&self) -> DeviceCreationError
fn clone(&self) -> DeviceCreationError
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresourceimpl Debug for DeviceCreationError
impl Debug for DeviceCreationError
sourceimpl Display for DeviceCreationError
impl Display for DeviceCreationError
sourceimpl Error for DeviceCreationError
impl Error for DeviceCreationError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()