Enum rovr::OculusError [-] [+] [src]

pub enum OculusError {
    OculusRuntimeError(String),
    SdkError(&'static str),
    DuplicateContext,
}

Error produced while interacting with a wrapped Oculus device.

Variants

OculusRuntimeError

Error while attempting to find the Oculus runtime. This probably means a supported version of the runtime is not installed.

SdkError

Error while interacting directly with the Oculus SDK. The SDK doesn't provide more detailed error information, but the included string provides some basic context about what was happening at the time of failure.

DuplicateContext

Only one Context can be active at a time per process. This error occurs when attempting to create a second Context while a Context is already active.

Trait Implementations

impl Display for OculusError

fn fmt(&self, f: &mut Formatter) -> Result

Derived Implementations

impl Debug for OculusError

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for OculusError

fn clone(&self) -> OculusError

fn clone_from(&mut self, source: &Self)