#[repr(C, packed)]
pub struct _LEAP_CONFIG_RESPONSE_EVENT { pub requestID: u32, pub value: LEAP_VARIANT, }
Expand description

\ingroup Structs Contains the response to a configuration value request. Call LeapRequestConfigValue() to request a service config value. The value is fetched asynchronously since it requires a service transaction. LeapPollConnection() returns this event structure when the request has been processed. Use the requestID value to correlate the response to the originating request. @since 3.0.0

Fields

requestID: u32

An identifier for correlating the request and response. @since 3.0.0

value: LEAP_VARIANT

The configuration value retrieved from the service. Do not free any memory pointed to by this member. The value held is only valid until the next call to LeapPollConnection(). @since 3.0.0

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. 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.