#[repr(transparent)]pub struct GattProtectionLevel(pub i32);
Expand description
Required features: ‘Devices_Bluetooth_GenericAttributeProfile’
Tuple Fields
0: i32
Implementations
impl GattProtectionLevel
impl GattProtectionLevel
pub const Plain: Self
pub const AuthenticationRequired: Self
pub const EncryptionRequired: Self
pub const EncryptionAndAuthenticationRequired: Self
Trait Implementations
impl Clone for GattProtectionLevel
impl Clone for GattProtectionLevel
impl Copy for GattProtectionLevel
Auto Trait Implementations
impl RefUnwindSafe for GattProtectionLevel
impl Send for GattProtectionLevel
impl Sync for GattProtectionLevel
impl Unpin for GattProtectionLevel
impl UnwindSafe for GattProtectionLevel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more