[][src]Struct apache_nimble_sys::ble_gap_passkey_params

#[repr(C)]pub struct ble_gap_passkey_params {
    pub action: u8,
    pub numcmp: u32,
}

@brief Passkey query

Fields

action: u8

Passkey action, can be one of following constants:

  • BLE_SM_IOACT_NONE
  • BLE_SM_IOACT_OOB
  • BLE_SM_IOACT_INPUT
  • BLE_SM_IOACT_DISP
  • BLE_SM_IOACT_NUMCMP
numcmp: u32

Passkey to compare, valid for BLE_SM_IOACT_NUMCMP action

Trait Implementations

impl Clone for ble_gap_passkey_params[src]

impl Copy for ble_gap_passkey_params[src]

impl Debug for ble_gap_passkey_params[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.