Enum vulkano::instance::InstanceCreationError
[−]
[src]
pub enum InstanceCreationError { LoadingError(LoadingError), OomError(OomError), InitializationFailed, LayerNotPresent, ExtensionNotPresent, IncompatibleDriver, }
Error that can happen when creating an instance.
Variants
LoadingError(LoadingError)
Failed to load the Vulkan shared library.
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 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 Debug 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. Read more
impl From<OomError> for InstanceCreationError
[src]
fn from(err: OomError) -> InstanceCreationError
Performs the conversion.
impl From<LoadingError> for InstanceCreationError
[src]
fn from(err: LoadingError) -> InstanceCreationError
Performs the conversion.
impl From<Error> for InstanceCreationError
[src]
fn from(err: Error) -> InstanceCreationError
Performs the conversion.