pub struct Result(/* private fields */);
Expand description
Implementations§
source§impl Result
impl Result
sourcepub const EVENT_RESET: Self = _
pub const EVENT_RESET: Self = _
An event is unsignaled
sourcepub const INCOMPLETE: Self = _
pub const INCOMPLETE: Self = _
A return array was too small for the result
sourcepub const ERROR_OUT_OF_HOST_MEMORY: Self = _
pub const ERROR_OUT_OF_HOST_MEMORY: Self = _
A host memory allocation has failed
sourcepub const ERROR_OUT_OF_DEVICE_MEMORY: Self = _
pub const ERROR_OUT_OF_DEVICE_MEMORY: Self = _
A device memory allocation has failed
sourcepub const ERROR_INITIALIZATION_FAILED: Self = _
pub const ERROR_INITIALIZATION_FAILED: Self = _
Initialization of a object has failed
sourcepub const ERROR_DEVICE_LOST: Self = _
pub const ERROR_DEVICE_LOST: Self = _
The logical device has been lost. See <
sourcepub const ERROR_MEMORY_MAP_FAILED: Self = _
pub const ERROR_MEMORY_MAP_FAILED: Self = _
Mapping of a memory object has failed
sourcepub const ERROR_LAYER_NOT_PRESENT: Self = _
pub const ERROR_LAYER_NOT_PRESENT: Self = _
Layer specified does not exist
sourcepub const ERROR_EXTENSION_NOT_PRESENT: Self = _
pub const ERROR_EXTENSION_NOT_PRESENT: Self = _
Extension specified does not exist
sourcepub const ERROR_FEATURE_NOT_PRESENT: Self = _
pub const ERROR_FEATURE_NOT_PRESENT: Self = _
Requested feature is not available on this device
sourcepub const ERROR_INCOMPATIBLE_DRIVER: Self = _
pub const ERROR_INCOMPATIBLE_DRIVER: Self = _
Unable to find a Vulkan driver
sourcepub const ERROR_TOO_MANY_OBJECTS: Self = _
pub const ERROR_TOO_MANY_OBJECTS: Self = _
Too many objects of the type have already been created
sourcepub const ERROR_FORMAT_NOT_SUPPORTED: Self = _
pub const ERROR_FORMAT_NOT_SUPPORTED: Self = _
Requested format is not supported on this device
sourcepub const ERROR_FRAGMENTED_POOL: Self = _
pub const ERROR_FRAGMENTED_POOL: Self = _
A requested pool allocation has failed due to fragmentation of the pool’s memory
sourcepub const ERROR_UNKNOWN: Self = _
pub const ERROR_UNKNOWN: Self = _
An unknown error has occurred, due to an implementation or application bug
source§impl Result
impl Result
Generated from ‘VK_KHR_surface’
pub const ERROR_SURFACE_LOST_KHR: Self = _
pub const ERROR_NATIVE_WINDOW_IN_USE_KHR: Self = _
source§impl Result
impl Result
Generated from ‘VK_KHR_swapchain’
pub const SUBOPTIMAL_KHR: Self = _
pub const ERROR_OUT_OF_DATE_KHR: Self = _
source§impl Result
impl Result
Generated from ‘VK_KHR_display_swapchain’
pub const ERROR_INCOMPATIBLE_DISPLAY_KHR: Self = _
source§impl Result
impl Result
Generated from ‘VK_EXT_debug_report’
pub const ERROR_VALIDATION_FAILED_EXT: Self = _
source§impl Result
impl Result
Generated from ‘VK_NV_glsl_shader’
pub const ERROR_INVALID_SHADER_NV: Self = _
source§impl Result
impl Result
Generated from ‘VK_KHR_maintenance1’
pub const ERROR_OUT_OF_POOL_MEMORY_KHR: Self = Self::ERROR_OUT_OF_POOL_MEMORY
source§impl Result
impl Result
Generated from ‘VK_KHR_external_memory’
pub const ERROR_INVALID_EXTERNAL_HANDLE_KHR: Self = Self::ERROR_INVALID_EXTERNAL_HANDLE
source§impl Result
impl Result
Generated from ‘VK_EXT_image_drm_format_modifier’
pub const ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT: Self = _
source§impl Result
impl Result
Generated from ‘VK_EXT_descriptor_indexing’
pub const ERROR_FRAGMENTATION_EXT: Self = Self::ERROR_FRAGMENTATION
source§impl Result
impl Result
Generated from ‘VK_EXT_global_priority’
pub const ERROR_NOT_PERMITTED_EXT: Self = Self::ERROR_NOT_PERMITTED_KHR
source§impl Result
impl Result
Generated from ‘VK_KHR_global_priority’
pub const ERROR_NOT_PERMITTED_KHR: Self = _
source§impl Result
impl Result
Generated from ‘VK_EXT_buffer_device_address’
pub const ERROR_INVALID_DEVICE_ADDRESS_EXT: Self = Self::ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS
source§impl Result
impl Result
Generated from ‘VK_EXT_full_screen_exclusive’
pub const ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT: Self = _
source§impl Result
impl Result
Generated from ‘VK_KHR_buffer_device_address’
pub const ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS_KHR: Self = Self::ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS
source§impl Result
impl Result
Generated from ‘VK_KHR_deferred_host_operations’
pub const THREAD_IDLE_KHR: Self = _
pub const THREAD_DONE_KHR: Self = _
pub const OPERATION_DEFERRED_KHR: Self = _
pub const OPERATION_NOT_DEFERRED_KHR: Self = _
source§impl Result
impl Result
Generated from ‘VK_EXT_pipeline_creation_cache_control’
pub const PIPELINE_COMPILE_REQUIRED_EXT: Self = Self::PIPELINE_COMPILE_REQUIRED
pub const ERROR_PIPELINE_COMPILE_REQUIRED_EXT: Self = Self::PIPELINE_COMPILE_REQUIRED
source§impl Result
impl Result
Generated from ‘VK_VERSION_1_1’
pub const ERROR_OUT_OF_POOL_MEMORY: Self = _
pub const ERROR_INVALID_EXTERNAL_HANDLE: Self = _
source§impl Result
impl Result
Generated from ‘VK_VERSION_1_2’
pub const ERROR_FRAGMENTATION: Self = _
pub const ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS: Self = _
source§impl Result
impl Result
Generated from ‘VK_VERSION_1_3’
pub const PIPELINE_COMPILE_REQUIRED: Self = _
Trait Implementations§
source§impl Error for Result
impl Error for Result
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
source§impl Ord for Result
impl Ord for Result
source§impl PartialEq for Result
impl PartialEq for Result
source§impl PartialOrd for Result
impl PartialOrd for Result
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Result
impl Eq for Result
impl StructuralPartialEq for Result
Auto Trait Implementations§
impl Freeze for Result
impl RefUnwindSafe for Result
impl Send for Result
impl Sync for Result
impl Unpin for Result
impl UnwindSafe for Result
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)