pub struct GapSecurityLevel {
pub status: Status,
pub mitm_protection_required: bool,
pub bonding_required: bool,
pub out_of_band_data_present: bool,
pub pass_key_required: PassKeyRequirement,
}
Expand description
Parameters returned by the GAP Get Security Level command.
Fields§
§status: Status
Did the command fail, and if so, how?
mitm_protection_required: bool
Is MITM (man-in-the-middle) protection required?
bonding_required: bool
Is bonding required?
out_of_band_data_present: bool
Is out-of-band data present?
pass_key_required: PassKeyRequirement
Is a pass key required, and if so, how is it generated?
Trait Implementations§
Source§impl Clone for GapSecurityLevel
impl Clone for GapSecurityLevel
Source§fn clone(&self) -> GapSecurityLevel
fn clone(&self) -> GapSecurityLevel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GapSecurityLevel
impl Debug for GapSecurityLevel
impl Copy for GapSecurityLevel
Auto Trait Implementations§
impl Freeze for GapSecurityLevel
impl RefUnwindSafe for GapSecurityLevel
impl Send for GapSecurityLevel
impl Sync for GapSecurityLevel
impl Unpin for GapSecurityLevel
impl UnwindSafe for GapSecurityLevel
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