[][src]Struct bluenrg::gap::PairingRequest

pub struct PairingRequest {
    pub conn_handle: ConnectionHandle,
    pub force_rebond: bool,
    pub force_reencrypt: bool,
}

Parameters for the send_pairing_request command.

Fields

conn_handle: ConnectionHandle

Handle of the connection for which the pairing request has to be sent.

force_rebond: bool

Whether pairing request has to be sent if the device is previously bonded or not. If false, the pairing request is sent only if the device has not previously bonded.

force_reencrypt: bool

Whether the link has to be re-encrypted after the key exchange.

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.