nrf-softdevice-s140

Crates

git

Versions

default

Flavors

#[repr(C)]
pub union ble_gap_evt_t__bindgen_ty_1 {
Show 23 fields pub connected: ble_gap_evt_connected_t, pub disconnected: ble_gap_evt_disconnected_t, pub conn_param_update: ble_gap_evt_conn_param_update_t, pub sec_params_request: ble_gap_evt_sec_params_request_t, pub sec_info_request: ble_gap_evt_sec_info_request_t, pub passkey_display: ble_gap_evt_passkey_display_t, pub key_pressed: ble_gap_evt_key_pressed_t, pub auth_key_request: ble_gap_evt_auth_key_request_t, pub lesc_dhkey_request: ble_gap_evt_lesc_dhkey_request_t, pub auth_status: ble_gap_evt_auth_status_t, pub conn_sec_update: ble_gap_evt_conn_sec_update_t, pub timeout: ble_gap_evt_timeout_t, pub rssi_changed: ble_gap_evt_rssi_changed_t, pub adv_report: ble_gap_evt_adv_report_t, pub adv_set_terminated: ble_gap_evt_adv_set_terminated_t, pub sec_request: ble_gap_evt_sec_request_t, pub conn_param_update_request: ble_gap_evt_conn_param_update_request_t, pub scan_req_report: ble_gap_evt_scan_req_report_t, pub phy_update_request: ble_gap_evt_phy_update_request_t, pub phy_update: ble_gap_evt_phy_update_t, pub data_length_update_request: ble_gap_evt_data_length_update_request_t, pub data_length_update: ble_gap_evt_data_length_update_t, pub qos_channel_survey_report: ble_gap_evt_qos_channel_survey_report_t, /* private fields */
}

Fields§

§connected: ble_gap_evt_connected_t

< Connected Event Parameters.

§disconnected: ble_gap_evt_disconnected_t

< Disconnected Event Parameters.

§conn_param_update: ble_gap_evt_conn_param_update_t

< Connection Parameter Update Parameters.

§sec_params_request: ble_gap_evt_sec_params_request_t

< Security Parameters Request Event Parameters.

§sec_info_request: ble_gap_evt_sec_info_request_t

< Security Information Request Event Parameters.

§passkey_display: ble_gap_evt_passkey_display_t

< Passkey Display Event Parameters.

§key_pressed: ble_gap_evt_key_pressed_t

< Key Pressed Event Parameters.

§auth_key_request: ble_gap_evt_auth_key_request_t

< Authentication Key Request Event Parameters.

§lesc_dhkey_request: ble_gap_evt_lesc_dhkey_request_t

< LE Secure Connections DHKey calculation request.

§auth_status: ble_gap_evt_auth_status_t

< Authentication Status Event Parameters.

§conn_sec_update: ble_gap_evt_conn_sec_update_t

< Connection Security Update Event Parameters.

§timeout: ble_gap_evt_timeout_t

< Timeout Event Parameters.

§rssi_changed: ble_gap_evt_rssi_changed_t

< RSSI Event Parameters.

§adv_report: ble_gap_evt_adv_report_t

< Advertising Report Event Parameters.

§adv_set_terminated: ble_gap_evt_adv_set_terminated_t

< Advertising Set Terminated Event Parameters.

§sec_request: ble_gap_evt_sec_request_t

< Security Request Event Parameters.

§conn_param_update_request: ble_gap_evt_conn_param_update_request_t

< Connection Parameter Update Parameters.

§scan_req_report: ble_gap_evt_scan_req_report_t

< Scan Request Report Parameters.

§phy_update_request: ble_gap_evt_phy_update_request_t

< PHY Update Request Event Parameters.

§phy_update: ble_gap_evt_phy_update_t

< PHY Update Parameters.

§data_length_update_request: ble_gap_evt_data_length_update_request_t

< Data Length Update Request Event Parameters.

§data_length_update: ble_gap_evt_data_length_update_t

< Data Length Update Event Parameters.

§qos_channel_survey_report: ble_gap_evt_qos_channel_survey_report_t

< Quality of Service (QoS) Channel Survey Report Parameters.

Trait Implementations§

source§

impl Clone for ble_gap_evt_t__bindgen_ty_1

source§

fn clone(&self) -> ble_gap_evt_t__bindgen_ty_1

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Copy for ble_gap_evt_t__bindgen_ty_1

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere
T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere
T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere
T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere
U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T, U> TryFrom<U> for Twhere
U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere
U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.