Enum vulkano::instance::InstanceCreationError [−][src]
pub enum InstanceCreationError {
LoadingError(LoadingError),
OomError(OomError),
InitializationFailed,
LayerNotPresent,
ExtensionNotPresent,
IncompatibleDriver,
ExtensionRestrictionNotMet(ExtensionRestrictionError),
}
Expand description
Error that can happen when creating an instance.
Variants
LoadingError(LoadingError)
Tuple Fields
0: LoadingError
Failed to load the Vulkan shared library.
OomError(OomError)
Tuple Fields
0: 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 not supported by the implementation.
IncompatibleDriver
The version requested is not supported by the implementation.
ExtensionRestrictionNotMet(ExtensionRestrictionError)
Tuple Fields
A restriction for an extension was not met.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for InstanceCreationError
impl Send for InstanceCreationError
impl Sync for InstanceCreationError
impl Unpin for InstanceCreationError
impl UnwindSafe for InstanceCreationError
Blanket Implementations
Mutably borrows from an owned value. Read more
Builds a pointer to this type from a raw pointer.
Returns true if the size is suitable to store a type like this.
Returns the size of an individual element.