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)
Failed to load the Vulkan shared library.
Tuple Fields of LoadingError
0: LoadingError
OomError(OomError)
Not enough memory.
Tuple Fields of OomError
0: OomError
Failed to initialize for an implementation-specific reason.
One of the requested layers is missing.
One of the requested extensions is not supported by the implementation.
The version requested is not supported by the implementation.
ExtensionRestrictionNotMet(ExtensionRestrictionError)
A restriction for an extension was not met.
Tuple Fields of ExtensionRestrictionNotMet
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.