Struct leap_sys::_LEAP_CONFIG_RESPONSE_EVENT
source · [−]#[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
sourceimpl Clone for _LEAP_CONFIG_RESPONSE_EVENT
impl Clone for _LEAP_CONFIG_RESPONSE_EVENT
sourcefn clone(&self) -> _LEAP_CONFIG_RESPONSE_EVENT
fn clone(&self) -> _LEAP_CONFIG_RESPONSE_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
impl Copy for _LEAP_CONFIG_RESPONSE_EVENT
Auto Trait Implementations
impl RefUnwindSafe for _LEAP_CONFIG_RESPONSE_EVENT
impl !Send for _LEAP_CONFIG_RESPONSE_EVENT
impl !Sync for _LEAP_CONFIG_RESPONSE_EVENT
impl Unpin for _LEAP_CONFIG_RESPONSE_EVENT
impl UnwindSafe for _LEAP_CONFIG_RESPONSE_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