Struct BluetoothError
#[repr(transparent)]pub struct BluetoothError(pub i32);
Tuple Fields§
§0: i32
Implementations§
§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 copy 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