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 NOT_PERMITTED: 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 FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT: Self
pub const INVALID_VIDEO_STD_PARAMETERS_KHR: Self
pub const COMPRESSION_EXHAUSTED_EXT: Self
pub const NOT_ENOUGH_SPACE_KHR: 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)>
Returns 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 PartialOrd for ErrorCode
impl PartialOrd for ErrorCode
impl 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