pub struct PairingRequest {
pub conn_handle: ConnectionHandle,
pub force_rebond: bool,
}
Expand description
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.
Auto Trait Implementations§
impl Freeze for PairingRequest
impl RefUnwindSafe for PairingRequest
impl Send for PairingRequest
impl Sync for PairingRequest
impl Unpin for PairingRequest
impl UnwindSafe for PairingRequest
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