Enum vulkano::device::DeviceCreationError
[−]
[src]
pub enum DeviceCreationError { OutOfHostMemory, OutOfDeviceMemory, TooManyQueuesForFamily, UnsupportedFeatures, PriorityOutOfRange, ExtensionNotPresent, }
Error that can be returned when creating a device.
Variants
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).
TooManyQueuesForFamily
Tried to create too many queues for a given family.
UnsupportedFeatures
Some of the requested features are unsupported by the physical device.
PriorityOutOfRange
The priority of one of the queues is out of the [0.0; 1.0] range.
ExtensionNotPresent
Some of the requested device extensions are not supported by the physical device.
Trait Implementations
impl Copy for DeviceCreationError
[src]
impl Clone for DeviceCreationError
[src]
fn clone(&self) -> DeviceCreationError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for DeviceCreationError
[src]
impl PartialEq for DeviceCreationError
[src]
fn eq(&self, __arg_0: &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
This method tests for !=
.
impl Eq for DeviceCreationError
[src]
impl Error for DeviceCreationError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more
impl Display for DeviceCreationError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl From<Error> for DeviceCreationError
[src]
fn from(err: Error) -> DeviceCreationError
Performs the conversion.