[−][src]Struct openxr_sys::Result
Error and return codes
Methods
impl Result
[src]
pub const SUCCESS: Result
[src]
Command completed successfully.
pub const TIMEOUT_EXPIRED: Result
[src]
The specified timeout time occurred before the operation could complete.
pub const SESSION_VISIBILITY_UNAVAILABLE: Result
[src]
The session has started but cannot be made visible at the moment.
pub const SESSION_LOSS_PENDING: Result
[src]
The session will be lost soon.
pub const EVENT_UNAVAILABLE: Result
[src]
No event was available.
pub const STATE_UNAVAILABLE: Result
[src]
No state (of any type) is available for the provided handle.
pub const STATE_TYPE_UNAVAILABLE: Result
[src]
The state of the given type is not available for the provided handle.
pub const SPACE_BOUNDS_UNAVAILABLE: Result
[src]
The space's bounds are not known at the moment.
pub const SESSION_NOT_FOCUSED: Result
[src]
The session is not in the focused state.
pub const FRAME_DISCARDED: Result
[src]
A frame has been discarded from composition.
pub const ERROR_VALIDATION_FAILURE: Result
[src]
The function usage was invalid in some way.
pub const ERROR_RUNTIME_FAILURE: Result
[src]
The runtime failed to handle the function in an unexpected way that is not covered by another error result.
pub const ERROR_OUT_OF_MEMORY: Result
[src]
A memory allocation has failed.
pub const ERROR_RUNTIME_VERSION_INCOMPATIBLE: Result
[src]
The runtime version is incompatible with the requested or required version.
pub const ERROR_DRIVER_INCOMPATIBLE: Result
[src]
The driver is incompatible with the runtime.
pub const ERROR_INITIALIZATION_FAILED: Result
[src]
Initialization of object could not be completed.
pub const ERROR_FUNCTION_UNSUPPORTED: Result
[src]
The requested function was not found or is otherwise unsupported.
pub const ERROR_FEATURE_UNSUPPORTED: Result
[src]
The requested feature is unavailable.
pub const ERROR_EXTENSION_NOT_PRESENT: Result
[src]
A requested extension is not supported.
pub const ERROR_LIMIT_REACHED: Result
[src]
The runtime supports no more of the requested resource.
pub const ERROR_SIZE_INSUFFICIENT: Result
[src]
The supplied size was smaller than required.
pub const ERROR_HANDLE_INVALID: Result
[src]
A supplied object was invalid.
pub const ERROR_INSTANCE_LOST: Result
[src]
The XrInstance was lost or could not be found. It will need to be destroyed and optionally recreated.
pub const ERROR_SESSION_RUNNING: Result
[src]
This session is already running.
pub const ERROR_SESSION_NOT_RUNNING: Result
[src]
The operation requires this session to be in the running state.
pub const ERROR_SESSION_LOST: Result
[src]
The XrSession was lost. It will need to be destroyed and optionally recreated.
pub const ERROR_SYSTEM_INVALID: Result
[src]
The provided XrSystemId was invalid.
pub const ERROR_PATH_INVALID: Result
[src]
The provided XrPath was not valid.
pub const ERROR_PATH_COUNT_EXCEEDED: Result
[src]
The maximum number of supported semantic paths has been reached.
pub const ERROR_PATH_FORMAT_INVALID: Result
[src]
The semantic path character format is invalid.
pub const ERROR_LAYER_INVALID: Result
[src]
The layer was NULL or otherwise invalid.
pub const ERROR_LAYER_LIMIT_EXCEEDED: Result
[src]
The number of specified layers is greater than the supported number.
pub const ERROR_SWAPCHAIN_RECT_INVALID: Result
[src]
The image rect was negatively sized or otherwise invalid.
pub const ERROR_SWAPCHAIN_FORMAT_UNSUPPORTED: Result
[src]
The image format isn't supported by the runtime or platform.
pub const ERROR_ACTION_TYPE_MISMATCH: Result
[src]
The API used to retrieve an action's state does not match the action's type.
pub const ERROR_REFERENCE_SPACE_UNSUPPORTED: Result
[src]
The specified reference space is not supported by the runtime or system.
pub const ERROR_FILE_ACCESS_ERROR: Result
[src]
The file could not be accessed.
pub const ERROR_FILE_CONTENTS_INVALID: Result
[src]
The file's contents were invalid.
pub const ERROR_FORM_FACTOR_UNSUPPORTED: Result
[src]
The specified form factor isn't supported by the current runtime or platform.
pub const ERROR_FORM_FACTOR_UNAVAILABLE: Result
[src]
The specified form factor is supported, but the device is currently not available, e.g. not plugged in or powered off.
pub const ERROR_API_LAYER_NOT_PRESENT: Result
[src]
A requested API layer is not present or could not be loaded.
pub const ERROR_CALL_ORDER_INVALID: Result
[src]
The call was made without having made a previously required call.
pub const ERROR_GRAPHICS_DEVICE_INVALID: Result
[src]
The given graphics device is not in a valid state. The graphics device could be lost or initialized without meeting graphics requirements.
pub const ERROR_POSE_INVALID: Result
[src]
The supplied pose was invalid with respect to the requirements.
pub const ERROR_INDEX_OUT_OF_RANGE: Result
[src]
The supplied index was outside the range of valid indices.
pub const ERROR_VIEW_CONFIGURATION_TYPE_UNSUPPORTED: Result
[src]
The specified view configuration type is not supported by the runtime or platform.
pub const ERROR_ENVIRONMENT_BLEND_MODE_UNSUPPORTED: Result
[src]
The specified environment blend mode is not supported by the runtime or platform.
pub const ERROR_BINDINGS_DUPLICATED: Result
[src]
The application specified bindings for an input form factor it had already suggested bindings for.
pub const ERROR_NAME_DUPLICATED: Result
[src]
The name provided was a duplicate of an already-existing resource.
pub const ERROR_NAME_INVALID: Result
[src]
The name provided was invalid.
pub const ERROR_ANDROID_THREAD_SETTINGS_ID_INVALID_KHR: Result
[src]
xrSetAndroidApplicationThreadKHR failed as thread id is invalid.
pub const ERROR_ANDROID_THREAD_SETTINGS_FAILURE_KHR: Result
[src]
xrSetAndroidApplicationThreadKHR failed setting the thread attributes/priority.
pub const ERROR_DEBUG_UTILS_MESSENGER_INVALID_EXT: Result
[src]
pub fn from_raw(x: i32) -> Self
[src]
pub fn into_raw(self) -> i32
[src]
Trait Implementations
impl Clone for Result
[src]
fn clone(&self) -> Result
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<Result> for Result
[src]
impl Eq for Result
[src]
impl Copy for Result
[src]
impl Display for Result
[src]
impl Debug for Result
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,