Enum vulkano::device::DeviceCreationError [−][src]
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
Failed to create the device for an implementation-specific reason.
You have reached the limit to the number of devices that can be created from the same physical device.
Failed to connect to the device.
Some of the requested features are unsupported by the physical device.
Some of the requested device extensions are not supported by the physical device.
Tried to create too many queues for a given family.
The priority of one of the queues is out of the [0.0; 1.0] range.
There is no memory available on the host (ie. the CPU, RAM, etc.).
There is no memory available on the device (ie. video memory).
A restriction for an extension was not met.
Tuple Fields of ExtensionRestrictionNotMet
A restriction for a feature was not met.
Tuple Fields of FeatureRestrictionNotMet
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for DeviceCreationError
impl Send for DeviceCreationError
impl Sync for DeviceCreationError
impl Unpin for DeviceCreationError
impl UnwindSafe for DeviceCreationError
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.