#[repr(C)]pub struct Security {
pub level: SecurityLevel,
pub key_size: u8,
}
Expand description
Bluetooth security
Fields§
§level: SecurityLevel
Level.
key_size: u8
Key size
Trait Implementations§
Source§impl Ord for Security
impl Ord for Security
Source§impl PartialOrd for Security
impl PartialOrd for Security
impl Copy for Security
impl Eq for Security
impl StructuralPartialEq for Security
Auto Trait Implementations§
impl Freeze for Security
impl RefUnwindSafe for Security
impl Send for Security
impl Sync for Security
impl Unpin for Security
impl UnwindSafe for Security
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