#[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 = Self(0i32)
pub const AuthenticationRequired: Self = Self(1i32)
pub const EncryptionRequired: Self = Self(2i32)
pub const EncryptionAndAuthenticationRequired: Self = Self(3i32)
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 · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more