[−][src]Struct openxr_sys::Result
Error and return codes - see XrResult
Implementations
impl Result
[src]
pub const SUCCESS: Result
[src]
Function successfully completed.
pub const TIMEOUT_EXPIRED: Result
[src]
The specified timeout time occurred before the operation could complete.
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 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_API_VERSION_UNSUPPORTED: Result
[src]
The runtime does not support the requested API version.
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 not supported.
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 handle 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]
The session is already running.
pub const ERROR_SESSION_NOT_RUNNING: Result
[src]
The session is not yet running.
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_PATH_UNSUPPORTED: Result
[src]
The semantic path is unsupported.
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 is not 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_SESSION_NOT_READY: Result
[src]
The session is not in the ready state.
pub const ERROR_SESSION_NOT_STOPPING: Result
[src]
The session is not in the stopping state.
pub const ERROR_TIME_INVALID: Result
[src]
The provided XrTime was zero, negative, or out of range.
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 is not 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_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_ACTIONSET_NOT_ATTACHED: Result
[src]
A referenced action set is not attached to the session.
pub const ERROR_ACTIONSETS_ALREADY_ATTACHED: Result
[src]
The session already has attached action sets.
pub const ERROR_LOCALIZED_NAME_DUPLICATED: Result
[src]
The localized name provided was a duplicate of an already-existing resource.
pub const ERROR_LOCALIZED_NAME_INVALID: Result
[src]
The localized 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_CREATE_SPATIAL_ANCHOR_FAILED_MSFT: Result
[src]
Spatial anchor could not be created at that location.
pub const ERROR_SECONDARY_VIEW_CONFIGURATION_TYPE_NOT_ENABLED_MSFT: Result
[src]
The secondary view configuration was not enabled when creating the session.
pub fn from_raw(x: i32) -> Self
[src]
pub fn into_raw(self) -> i32
[src]
Trait Implementations
impl Clone for Result
[src]
impl Copy for Result
[src]
impl Debug for Result
[src]
impl Display for Result
[src]
impl Eq for Result
[src]
impl Error for Result
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn description(&self) -> &str
1.0.0[src]
fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl PartialEq<Result> for Result
[src]
impl StructuralEq for Result
[src]
impl StructuralPartialEq for Result
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,