Enum vulkano::instance::InstanceCreationError
[−]
[src]
pub enum InstanceCreationError { OomError(OomError), InitializationFailed, LayerNotPresent, ExtensionNotPresent, IncompatibleDriver, }
Error that can happen when creating an instance.
Variants
OomError(OomError)
Not enough memory.
InitializationFailed
Failed to initialize for an implementation-specific reason.
LayerNotPresent
One of the requested layers is missing.
ExtensionNotPresent
One of the requested extensions is missing.
IncompatibleDriver
The version requested is not supported by the implementation.
Trait Implementations
impl Eq for InstanceCreationError
[src]
impl PartialEq for InstanceCreationError
[src]
fn eq(&self, __arg_0: &InstanceCreationError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &InstanceCreationError) -> bool
This method tests for !=
.
impl Debug for InstanceCreationError
[src]
impl Clone for InstanceCreationError
[src]
fn clone(&self) -> InstanceCreationError
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 Copy for InstanceCreationError
[src]
impl Error for InstanceCreationError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl Display for InstanceCreationError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl From<OomError> for InstanceCreationError
[src]
fn from(err: OomError) -> InstanceCreationError
Performs the conversion.
impl From<Error> for InstanceCreationError
[src]
fn from(err: Error) -> InstanceCreationError
Performs the conversion.