Struct vulkanalia::vk::ErrorCode
source · pub struct ErrorCode(/* private fields */);
Expand description
Result codes that indicate errors.
Implementations§
source§impl ErrorCode
impl ErrorCode
pub const OUT_OF_HOST_MEMORY: Self = _
pub const OUT_OF_DEVICE_MEMORY: Self = _
pub const INITIALIZATION_FAILED: Self = _
pub const DEVICE_LOST: Self = _
pub const MEMORY_MAP_FAILED: Self = _
pub const LAYER_NOT_PRESENT: Self = _
pub const EXTENSION_NOT_PRESENT: Self = _
pub const FEATURE_NOT_PRESENT: Self = _
pub const INCOMPATIBLE_DRIVER: Self = _
pub const TOO_MANY_OBJECTS: Self = _
pub const FORMAT_NOT_SUPPORTED: Self = _
pub const FRAGMENTED_POOL: Self = _
pub const UNKNOWN: Self = _
pub const OUT_OF_POOL_MEMORY: Self = _
pub const INVALID_EXTERNAL_HANDLE: Self = _
pub const FRAGMENTATION: Self = _
pub const INVALID_OPAQUE_CAPTURE_ADDRESS: Self = _
pub const SURFACE_LOST_KHR: Self = _
pub const NATIVE_WINDOW_IN_USE_KHR: Self = _
pub const OUT_OF_DATE_KHR: Self = _
pub const INCOMPATIBLE_DISPLAY_KHR: Self = _
pub const VALIDATION_FAILED_EXT: Self = _
pub const INVALID_SHADER_NV: Self = _
pub const IMAGE_USAGE_NOT_SUPPORTED_KHR: Self = _
pub const VIDEO_PICTURE_LAYOUT_NOT_SUPPORTED_KHR: Self = _
pub const VIDEO_PROFILE_OPERATION_NOT_SUPPORTED_KHR: Self = _
pub const VIDEO_PROFILE_FORMAT_NOT_SUPPORTED_KHR: Self = _
pub const VIDEO_PROFILE_CODEC_NOT_SUPPORTED_KHR: Self = _
pub const VIDEO_STD_VERSION_NOT_SUPPORTED_KHR: Self = _
pub const INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT: Self = _
pub const NOT_PERMITTED_KHR: Self = _
pub const FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT: Self = _
pub const INVALID_VIDEO_STD_PARAMETERS_KHR: Self = _
pub const COMPRESSION_EXHAUSTED_EXT: Self = _
Trait Implementations§
source§impl Error for ErrorCode
impl Error for ErrorCode
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl Ord for ErrorCode
impl Ord for ErrorCode
source§impl PartialEq for ErrorCode
impl PartialEq for ErrorCode
source§impl PartialOrd for ErrorCode
impl PartialOrd for ErrorCode
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ErrorCode
impl Eq for ErrorCode
impl StructuralPartialEq for ErrorCode
Auto Trait Implementations§
impl Freeze for ErrorCode
impl RefUnwindSafe for ErrorCode
impl Send for ErrorCode
impl Sync for ErrorCode
impl Unpin for ErrorCode
impl UnwindSafe for ErrorCode
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