Struct stm32wb_hci::vendor::stm32wb::command::gap::AuthenticationRequirements
source · pub struct AuthenticationRequirements {
pub mitm_protection_required: bool,
pub out_of_band_auth: OutOfBandAuthentication,
pub encryption_key_size_range: (u8, u8),
pub fixed_pin: Pin,
pub bonding_required: bool,
}Expand description
Parameters for the GAP Set Authentication Requirement command.
Fields§
§mitm_protection_required: boolIs MITM (man-in-the-middle) protection required?
out_of_band_auth: OutOfBandAuthenticationOut-of-band authentication data.
encryption_key_size_range: (u8, u8)Minimum and maximum size of the encryption key.
fixed_pin: PinPin to use during the pairing process.
bonding_required: boolIs bonding required?
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for AuthenticationRequirements
impl Send for AuthenticationRequirements
impl Sync for AuthenticationRequirements
impl Unpin for AuthenticationRequirements
impl UnwindSafe for AuthenticationRequirements
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