Struct BluetoothError
#[repr(transparent)]pub struct BluetoothError(pub i32);Tuple Fields§
§0: i32Implementations§
§impl BluetoothError
impl BluetoothError
pub const Success: Self
pub const RadioNotAvailable: Self
pub const ResourceInUse: Self
pub const DeviceNotConnected: Self
pub const OtherError: Self
pub const DisabledByPolicy: Self
pub const NotSupported: Self
pub const DisabledByUser: Self
pub const ConsentRequired: Self
pub const TransportNotSupported: Self
Trait Implementations§
§impl Clone for BluetoothError
impl Clone for BluetoothError
§fn clone(&self) -> BluetoothError
fn clone(&self) -> BluetoothError
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 more§impl Debug for BluetoothError
impl Debug for BluetoothError
§impl Default for BluetoothError
impl Default for BluetoothError
§fn default() -> BluetoothError
fn default() -> BluetoothError
Returns the “default value” for a type. Read more
§impl PartialEq for BluetoothError
impl PartialEq for BluetoothError
impl Copy for BluetoothError
impl Eq for BluetoothError
impl StructuralPartialEq for BluetoothError
Auto Trait Implementations§
impl Freeze for BluetoothError
impl RefUnwindSafe for BluetoothError
impl Send for BluetoothError
impl Sync for BluetoothError
impl Unpin for BluetoothError
impl UnwindSafe for BluetoothError
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