Enum vulkano::device::DeviceCreationError [−][src]
pub enum DeviceCreationError { InitializationFailed, TooManyObjects, DeviceLost, FeatureNotPresent, ExtensionNotPresent, TooManyQueuesForFamily, PriorityOutOfRange, OutOfHostMemory, OutOfDeviceMemory, }
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).
Trait Implementations
impl Copy for DeviceCreationError
[src]
impl Copy for DeviceCreationError
impl Clone for DeviceCreationError
[src]
impl Clone for DeviceCreationError
fn clone(&self) -> DeviceCreationError
[src]
fn clone(&self) -> DeviceCreationError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for DeviceCreationError
[src]
impl Debug for DeviceCreationError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for DeviceCreationError
[src]
impl PartialEq for DeviceCreationError
fn eq(&self, other: &DeviceCreationError) -> bool
[src]
fn eq(&self, other: &DeviceCreationError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Eq for DeviceCreationError
[src]
impl Eq for DeviceCreationError
impl Error for DeviceCreationError
[src]
impl Error for DeviceCreationError
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl Display for DeviceCreationError
[src]
impl Display for DeviceCreationError
Auto Trait Implementations
impl Send for DeviceCreationError
impl Send for DeviceCreationError
impl Sync for DeviceCreationError
impl Sync for DeviceCreationError