pub enum BluetoothStatusCode {
NotAllowed,
NotEnabled,
NotBonded,
GattWriteNotAllowed,
GattWriteBusy,
MissingBluetoothConnectPermission,
ProfileServiceNotBound,
Unknown,
FeatureNotSupported,
UnknownError(NonZeroI32),
}Expand description
Variants§
NotAllowed
NotEnabled
NotBonded
GattWriteNotAllowed
GattWriteBusy
MissingBluetoothConnectPermission
ProfileServiceNotBound
Unknown
FeatureNotSupported
UnknownError(NonZeroI32)
Trait Implementations§
Source§impl Clone for BluetoothStatusCode
impl Clone for BluetoothStatusCode
Source§fn clone(&self) -> BluetoothStatusCode
fn clone(&self) -> BluetoothStatusCode
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 BluetoothStatusCode
impl Debug for BluetoothStatusCode
Source§impl Display for BluetoothStatusCode
impl Display for BluetoothStatusCode
Source§impl From<NonZero<i32>> for BluetoothStatusCode
impl From<NonZero<i32>> for BluetoothStatusCode
Source§fn from(code: NonZeroI32) -> Self
fn from(code: NonZeroI32) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BluetoothStatusCode
impl RefUnwindSafe for BluetoothStatusCode
impl Send for BluetoothStatusCode
impl Sync for BluetoothStatusCode
impl Unpin for BluetoothStatusCode
impl UnsafeUnpin for BluetoothStatusCode
impl UnwindSafe for BluetoothStatusCode
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