#[repr(C, packed(1))]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: u32An identifier for correlating the request and response. @since 3.0.0
value: LEAP_VARIANTThe 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§
Source§impl Clone for _LEAP_CONFIG_RESPONSE_EVENT
impl Clone for _LEAP_CONFIG_RESPONSE_EVENT
Source§fn clone(&self) -> _LEAP_CONFIG_RESPONSE_EVENT
fn clone(&self) -> _LEAP_CONFIG_RESPONSE_EVENT
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for _LEAP_CONFIG_RESPONSE_EVENT
Auto Trait Implementations§
impl Freeze for _LEAP_CONFIG_RESPONSE_EVENT
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§
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