#[repr(u32)]pub enum gvr_error {
GVR_ERROR_NONE = 0,
GVR_ERROR_CONTROLLER_CREATE_FAILED = 2,
GVR_ERROR_NO_FRAME_AVAILABLE = 3,
GVR_ERROR_NO_EVENT_AVAILABLE = 1_000_000,
GVR_ERROR_NO_PROPERTY_AVAILABLE = 1_000_001,
}Expand description
Constants that represent GVR error codes.
Variants§
GVR_ERROR_NONE = 0
GVR_ERROR_CONTROLLER_CREATE_FAILED = 2
GVR_ERROR_NO_FRAME_AVAILABLE = 3
GVR_ERROR_NO_EVENT_AVAILABLE = 1_000_000
GVR_ERROR_NO_PROPERTY_AVAILABLE = 1_000_001
Trait Implementations§
impl Copy for gvr_error
impl Eq for gvr_error
impl StructuralPartialEq for gvr_error
Auto Trait Implementations§
impl Freeze for gvr_error
impl RefUnwindSafe for gvr_error
impl Send for gvr_error
impl Sync for gvr_error
impl Unpin for gvr_error
impl UnwindSafe for gvr_error
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