Struct leap_sys::_LEAP_DEVICE_FAILURE_EVENT
source · [−]#[repr(C, packed)]pub struct _LEAP_DEVICE_FAILURE_EVENT {
pub status: eLeapDeviceStatus,
pub hDevice: LEAP_DEVICE,
}
Expand description
\ingroup Structs Device failure information. LeapPollConnection() produces a message containing this event when a device fails. Only partial information may be available. If hDevice is non-null, then you can use it to identify the failed device with a known, open device. @since 3.0.0
Fields
status: eLeapDeviceStatus
The status of this failure event. @since 3.0.0
hDevice: LEAP_DEVICE
A handle to the device generating this failure event, if available, otherwise NULL.
You are not responsible for closing this handle. @since 3.0.0
Trait Implementations
sourceimpl Clone for _LEAP_DEVICE_FAILURE_EVENT
impl Clone for _LEAP_DEVICE_FAILURE_EVENT
sourcefn clone(&self) -> _LEAP_DEVICE_FAILURE_EVENT
fn clone(&self) -> _LEAP_DEVICE_FAILURE_EVENT
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for _LEAP_DEVICE_FAILURE_EVENT
impl Debug for _LEAP_DEVICE_FAILURE_EVENT
impl Copy for _LEAP_DEVICE_FAILURE_EVENT
Auto Trait Implementations
impl RefUnwindSafe for _LEAP_DEVICE_FAILURE_EVENT
impl !Send for _LEAP_DEVICE_FAILURE_EVENT
impl !Sync for _LEAP_DEVICE_FAILURE_EVENT
impl Unpin for _LEAP_DEVICE_FAILURE_EVENT
impl UnwindSafe for _LEAP_DEVICE_FAILURE_EVENT
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