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 Clone for DeviceCreationError
[src]
fn clone(&self) -> DeviceCreationError
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for DeviceCreationError
[src]
impl PartialEq for DeviceCreationError
[src]
fn eq(&self, __arg_0: &DeviceCreationError) -> bool
[src]
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]
This method tests for !=
.
impl Eq for DeviceCreationError
[src]
impl Error for DeviceCreationError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0[src]
The lower-level cause of this error, if any. Read more
impl Display for DeviceCreationError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
[src]
Formats the value using the given formatter. Read more
impl From<Error> for DeviceCreationError
[src]
fn from(err: Error) -> DeviceCreationError
[src]
Performs the conversion.