pub struct Result(/* private fields */);Implementations§
Source§impl Result
impl Result
pub const SUCCESS: Self
pub const NOT_READY: Self
pub const TIMEOUT: Self
pub const EVENT_SET: Self
pub const EVENT_RESET: Self
pub const INCOMPLETE: Self
pub const ERROR_OUT_OF_HOST_MEMORY: Self
pub const ERROR_OUT_OF_DEVICE_MEMORY: Self
pub const ERROR_INITIALIZATION_FAILED: Self
pub const ERROR_DEVICE_LOST: Self
pub const ERROR_MEMORY_MAP_FAILED: Self
pub const ERROR_LAYER_NOT_PRESENT: Self
pub const ERROR_EXTENSION_NOT_PRESENT: Self
pub const ERROR_FEATURE_NOT_PRESENT: Self
pub const ERROR_INCOMPATIBLE_DRIVER: Self
pub const ERROR_TOO_MANY_OBJECTS: Self
pub const ERROR_FORMAT_NOT_SUPPORTED: Self
pub const ERROR_FRAGMENTED_POOL: Self
pub const ERROR_UNKNOWN: Self
pub const ERROR_VALIDATION_FAILED: Self
pub const ERROR_OUT_OF_POOL_MEMORY: Self
pub const ERROR_INVALID_EXTERNAL_HANDLE: Self
pub const ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS: Self
pub const ERROR_FRAGMENTATION: Self
pub const PIPELINE_COMPILE_REQUIRED: Self
pub const ERROR_NOT_PERMITTED: Self
pub const ERROR_SURFACE_LOST_KHR: Self
pub const ERROR_NATIVE_WINDOW_IN_USE_KHR: Self
pub const SUBOPTIMAL_KHR: Self
pub const ERROR_OUT_OF_DATE_KHR: Self
pub const ERROR_INCOMPATIBLE_DISPLAY_KHR: Self
pub const ERROR_INVALID_SHADER_NV: Self
pub const ERROR_IMAGE_USAGE_NOT_SUPPORTED_KHR: Self
pub const ERROR_VIDEO_PICTURE_LAYOUT_NOT_SUPPORTED_KHR: Self
pub const ERROR_VIDEO_PROFILE_OPERATION_NOT_SUPPORTED_KHR: Self
pub const ERROR_VIDEO_PROFILE_FORMAT_NOT_SUPPORTED_KHR: Self
pub const ERROR_VIDEO_PROFILE_CODEC_NOT_SUPPORTED_KHR: Self
pub const ERROR_VIDEO_STD_VERSION_NOT_SUPPORTED_KHR: Self
pub const ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT: Self
pub const ERROR_PRESENT_TIMING_QUEUE_FULL_EXT: Self
pub const ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT: Self
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
pub const ERROR_INVALID_VIDEO_STD_PARAMETERS_KHR: Self
pub const ERROR_COMPRESSION_EXHAUSTED_EXT: Self
pub const INCOMPATIBLE_SHADER_BINARY_EXT: Self
pub const PIPELINE_BINARY_MISSING_KHR: Self
pub const ERROR_NOT_ENOUGH_SPACE_KHR: Self
Trait Implementations§
Source§impl Error for Result
Available on crate features std or no_std_error only.
impl Error for Result
Available on crate features
std or no_std_error only.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 Result
impl Ord for Result
Source§impl PartialOrd for Result
impl PartialOrd for Result
impl 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
Mutably borrows from an owned value. Read more