Struct windows::Devices::Bluetooth::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
§fn eq(&self, other: &BluetoothError) -> bool
fn eq(&self, other: &BluetoothError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)