pub enum VkError {
Show 51 variants
NullFunctionPointer(&'static str),
VkNotReady(&'static str),
VkTimeout(&'static str),
VkEventSet(&'static str),
VkEventReset(&'static str),
VkIncomplete(&'static str),
VkErrorOutOfHostMemory(&'static str),
VkErrorOutOfDeviceMemory(&'static str),
VkErrorInitializationFailed(&'static str),
VkErrorDeviceLost(&'static str),
VkErrorMemoryMapFailed(&'static str),
VkErrorLayerNotPresent(&'static str),
VkErrorExtensionNotPresent(&'static str),
VkErrorFeatureNotPresent(&'static str),
VkErrorIncompatibleDriver(&'static str),
VkErrorTooManyObjects(&'static str),
VkErrorFormatNotSupported(&'static str),
VkErrorFragmentedPool(&'static str),
VkErrorUnknown(&'static str),
VkErrorValidationFailed(&'static str),
VkErrorOutOfPoolMemory(&'static str),
VkErrorInvalidExternalHandle(&'static str),
VkErrorFragmentation(&'static str),
VkErrorInvalidOpaqueCaptureAddress(&'static str),
VkPipelineCompileRequired(&'static str),
VkErrorNotPermitted(&'static str),
VkErrorSurfaceLostKhr(&'static str),
VkErrorNativeWindowInUseKhr(&'static str),
VkSuboptimalKhr(&'static str),
VkErrorOutOfDateKhr(&'static str),
VkErrorIncompatibleDisplayKhr(&'static str),
VkErrorInvalidShaderNv(&'static str),
VkErrorImageUsageNotSupportedKhr(&'static str),
VkErrorVideoPictureLayoutNotSupportedKhr(&'static str),
VkErrorVideoProfileOperationNotSupportedKhr(&'static str),
VkErrorVideoProfileFormatNotSupportedKhr(&'static str),
VkErrorVideoProfileCodecNotSupportedKhr(&'static str),
VkErrorVideoStdVersionNotSupportedKhr(&'static str),
VkErrorInvalidDrmFormatModifierPlaneLayoutExt(&'static str),
VkErrorFullScreenExclusiveModeLostExt(&'static str),
VkThreadIdleKhr(&'static str),
VkThreadDoneKhr(&'static str),
VkOperationDeferredKhr(&'static str),
VkOperationNotDeferredKhr(&'static str),
VkErrorInvalidVideoStdParametersKhr(&'static str),
VkErrorCompressionExhaustedExt(&'static str),
VkIncompatibleShaderBinaryExt(&'static str),
VkPipelineBinaryMissingKhr(&'static str),
VkErrorNotEnoughSpaceKhr(&'static str),
VkResultMaxEnum(&'static str),
UnknownError((VkResult, &'static str)),
}Expand description
The Result type for the Vulkan APIs
Variants§
NullFunctionPointer(&'static str)
VkNotReady(&'static str)
VkTimeout(&'static str)
VkEventSet(&'static str)
VkEventReset(&'static str)
VkIncomplete(&'static str)
VkErrorOutOfHostMemory(&'static str)
VkErrorOutOfDeviceMemory(&'static str)
VkErrorInitializationFailed(&'static str)
VkErrorDeviceLost(&'static str)
VkErrorMemoryMapFailed(&'static str)
VkErrorLayerNotPresent(&'static str)
VkErrorExtensionNotPresent(&'static str)
VkErrorFeatureNotPresent(&'static str)
VkErrorIncompatibleDriver(&'static str)
VkErrorTooManyObjects(&'static str)
VkErrorFormatNotSupported(&'static str)
VkErrorFragmentedPool(&'static str)
VkErrorUnknown(&'static str)
VkErrorValidationFailed(&'static str)
VkErrorOutOfPoolMemory(&'static str)
VkErrorInvalidExternalHandle(&'static str)
VkErrorFragmentation(&'static str)
VkErrorInvalidOpaqueCaptureAddress(&'static str)
VkPipelineCompileRequired(&'static str)
VkErrorNotPermitted(&'static str)
VkErrorSurfaceLostKhr(&'static str)
VkErrorNativeWindowInUseKhr(&'static str)
VkSuboptimalKhr(&'static str)
VkErrorOutOfDateKhr(&'static str)
VkErrorIncompatibleDisplayKhr(&'static str)
VkErrorInvalidShaderNv(&'static str)
VkErrorImageUsageNotSupportedKhr(&'static str)
VkErrorVideoPictureLayoutNotSupportedKhr(&'static str)
VkErrorVideoProfileOperationNotSupportedKhr(&'static str)
VkErrorVideoProfileFormatNotSupportedKhr(&'static str)
VkErrorVideoProfileCodecNotSupportedKhr(&'static str)
VkErrorVideoStdVersionNotSupportedKhr(&'static str)
VkErrorInvalidDrmFormatModifierPlaneLayoutExt(&'static str)
VkErrorFullScreenExclusiveModeLostExt(&'static str)
VkThreadIdleKhr(&'static str)
VkThreadDoneKhr(&'static str)
VkOperationDeferredKhr(&'static str)
VkOperationNotDeferredKhr(&'static str)
VkErrorInvalidVideoStdParametersKhr(&'static str)
VkErrorCompressionExhaustedExt(&'static str)
VkIncompatibleShaderBinaryExt(&'static str)
VkPipelineBinaryMissingKhr(&'static str)
VkErrorNotEnoughSpaceKhr(&'static str)
VkResultMaxEnum(&'static str)
UnknownError((VkResult, &'static str))
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VkError
impl RefUnwindSafe for VkError
impl Send for VkError
impl Sync for VkError
impl Unpin for VkError
impl UnsafeUnpin for VkError
impl UnwindSafe for VkError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more