#[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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.