Struct objc2_core_bluetooth::CBError
source · #[repr(transparent)]pub struct CBError(pub NSInteger);Available on crate feature
CBError only.Tuple Fields§
§0: NSIntegerImplementations§
source§impl CBError
impl CBError
pub const Unknown: Self = _
pub const InvalidParameters: Self = _
pub const InvalidHandle: Self = _
pub const NotConnected: Self = _
pub const OutOfSpace: Self = _
pub const OperationCancelled: Self = _
pub const ConnectionTimeout: Self = _
pub const PeripheralDisconnected: Self = _
pub const UUIDNotAllowed: Self = _
pub const AlreadyAdvertising: Self = _
pub const ConnectionFailed: Self = _
pub const ConnectionLimitReached: Self = _
pub const UnkownDevice: Self = _
👎Deprecated: Use CBErrorUnknownDevice instead
pub const UnknownDevice: Self = _
pub const OperationNotSupported: Self = _
pub const PeerRemovedPairingInformation: Self = _
pub const EncryptionTimedOut: Self = _
pub const TooManyLEPairedDevices: Self = _
pub const LeGattExceededBackgroundNotificationLimit: Self = _
pub const LeGattNearBackgroundNotificationLimit: Self = _
Trait Implementations§
source§impl Ord for CBError
impl Ord for CBError
source§impl PartialEq for CBError
impl PartialEq for CBError
source§impl PartialOrd for CBError
impl PartialOrd for CBError
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl RefEncode for CBError
impl RefEncode for CBError
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for CBError
impl Eq for CBError
impl StructuralPartialEq for CBError
Auto Trait Implementations§
impl Freeze for CBError
impl RefUnwindSafe for CBError
impl Send for CBError
impl Sync for CBError
impl Unpin for CBError
impl UnwindSafe for CBError
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> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.