#[repr(i32)]pub enum VkResult {
Show 20 variants
Success = 0,
NotReady = 1,
Timeout = 2,
EventSet = 3,
EventReset = 4,
Incomplete = 5,
ErrorOutOfHostMemory = -1,
ErrorOutOfDeviceMemory = -2,
ErrorInitializationFailed = -3,
ErrorDeviceLost = -4,
ErrorMemoryMapFailed = -5,
ErrorLayerNotPresent = -6,
ErrorExtensionNotPresent = -7,
ErrorFeatureNotPresent = -8,
ErrorIncompatibleDriver = -9,
ErrorTooManyObjects = -10,
ErrorFormatNotSupported = -11,
ErrorFragmentedPool = -12,
ErrorUnknown = -13,
ErrorOutOfPoolMemory = -1_000_069_000,
}Expand description
Result codes for Kronos API operations
Variants§
Success = 0
NotReady = 1
Timeout = 2
EventSet = 3
EventReset = 4
Incomplete = 5
ErrorOutOfHostMemory = -1
ErrorOutOfDeviceMemory = -2
ErrorInitializationFailed = -3
ErrorDeviceLost = -4
ErrorMemoryMapFailed = -5
ErrorLayerNotPresent = -6
ErrorExtensionNotPresent = -7
ErrorFeatureNotPresent = -8
ErrorIncompatibleDriver = -9
ErrorTooManyObjects = -10
ErrorFormatNotSupported = -11
ErrorFragmentedPool = -12
ErrorUnknown = -13
ErrorOutOfPoolMemory = -1_000_069_000
Trait Implementations§
impl Copy for VkResult
impl Eq for VkResult
impl StructuralPartialEq for VkResult
Auto Trait Implementations§
impl Freeze for VkResult
impl RefUnwindSafe for VkResult
impl Send for VkResult
impl Sync for VkResult
impl Unpin for VkResult
impl UnwindSafe for VkResult
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