Struct vulkanalia_sys::Result
source · [−]#[repr(transparent)]pub struct Result(_);
Expand description
Implementations
sourceimpl Result
impl Result
pub const SUCCESS: Self = Self(0)
pub const NOT_READY: Self = Self(1)
pub const TIMEOUT: Self = Self(2)
pub const EVENT_SET: Self = Self(3)
pub const EVENT_RESET: Self = Self(4)
pub const INCOMPLETE: Self = Self(5)
pub const ERROR_OUT_OF_HOST_MEMORY: Self = Self(-1)
pub const ERROR_OUT_OF_DEVICE_MEMORY: Self = Self(-2)
pub const ERROR_INITIALIZATION_FAILED: Self = Self(-3)
pub const ERROR_DEVICE_LOST: Self = Self(-4)
pub const ERROR_MEMORY_MAP_FAILED: Self = Self(-5)
pub const ERROR_LAYER_NOT_PRESENT: Self = Self(-6)
pub const ERROR_EXTENSION_NOT_PRESENT: Self = Self(-7)
pub const ERROR_FEATURE_NOT_PRESENT: Self = Self(-8)
pub const ERROR_INCOMPATIBLE_DRIVER: Self = Self(-9)
pub const ERROR_TOO_MANY_OBJECTS: Self = Self(-10)
pub const ERROR_FORMAT_NOT_SUPPORTED: Self = Self(-11)
pub const ERROR_FRAGMENTED_POOL: Self = Self(-12)
pub const ERROR_UNKNOWN: Self = Self(-13)
pub const ERROR_OUT_OF_POOL_MEMORY: Self = Self(-1000069000)
pub const ERROR_INVALID_EXTERNAL_HANDLE: Self = Self(-1000072003)
pub const ERROR_FRAGMENTATION: Self = Self(-1000161000)
pub const ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS: Self = Self(-1000257000)
pub const PIPELINE_COMPILE_REQUIRED: Self = Self(1000297000)
pub const ERROR_SURFACE_LOST_KHR: Self = Self(-1000000000)
pub const ERROR_NATIVE_WINDOW_IN_USE_KHR: Self = Self(-1000000001)
pub const SUBOPTIMAL_KHR: Self = Self(1000001003)
pub const ERROR_OUT_OF_DATE_KHR: Self = Self(-1000001004)
pub const ERROR_INCOMPATIBLE_DISPLAY_KHR: Self = Self(-1000003001)
pub const ERROR_VALIDATION_FAILED_EXT: Self = Self(-1000011001)
pub const ERROR_INVALID_SHADER_NV: Self = Self(-1000012000)
pub const ERROR_INVALID_DRM_FORMAT_MODIFIER_PLANE_LAYOUT_EXT: Self = Self(-1000158000)
pub const ERROR_NOT_PERMITTED_KHR: Self = Self(-1000174001)
pub const ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT: Self = Self(-1000255000)
pub const THREAD_IDLE_KHR: Self = Self(1000268000)
pub const THREAD_DONE_KHR: Self = Self(1000268001)
pub const OPERATION_DEFERRED_KHR: Self = Self(1000268002)
pub const OPERATION_NOT_DEFERRED_KHR: Self = Self(1000268003)
pub const ERROR_COMPRESSION_EXHAUSTED_EXT: Self = Self(-1000338000)
Trait Implementations
sourceimpl Error for Result
impl Error for Result
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl Ord for Result
impl Ord for Result
sourceimpl PartialOrd<Result> for Result
impl PartialOrd<Result> for Result
sourcefn partial_cmp(&self, other: &Result) -> Option<Ordering>
fn partial_cmp(&self, other: &Result) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl Copy for Result
impl Eq for Result
impl StructuralEq for Result
impl StructuralPartialEq for Result
Auto Trait Implementations
impl RefUnwindSafe for Result
impl Send for Result
impl Sync for Result
impl Unpin for Result
impl UnwindSafe for Result
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more