Struct objc2_core_bluetooth::CBATTError
source · #[repr(transparent)]pub struct CBATTError(pub NSInteger);Available on crate feature
CBError only.Tuple Fields§
§0: NSIntegerImplementations§
source§impl CBATTError
impl CBATTError
pub const Success: Self = _
pub const InvalidHandle: Self = _
pub const ReadNotPermitted: Self = _
pub const WriteNotPermitted: Self = _
pub const InvalidPdu: Self = _
pub const InsufficientAuthentication: Self = _
pub const RequestNotSupported: Self = _
pub const InvalidOffset: Self = _
pub const InsufficientAuthorization: Self = _
pub const PrepareQueueFull: Self = _
pub const AttributeNotFound: Self = _
pub const AttributeNotLong: Self = _
pub const InsufficientEncryptionKeySize: Self = _
pub const InvalidAttributeValueLength: Self = _
pub const UnlikelyError: Self = _
pub const InsufficientEncryption: Self = _
pub const UnsupportedGroupType: Self = _
pub const InsufficientResources: Self = _
Trait Implementations§
source§impl Clone for CBATTError
impl Clone for CBATTError
source§fn clone(&self) -> CBATTError
fn clone(&self) -> CBATTError
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 moresource§impl Debug for CBATTError
impl Debug for CBATTError
source§impl Encode for CBATTError
impl Encode for CBATTError
source§impl Hash for CBATTError
impl Hash for CBATTError
source§impl Ord for CBATTError
impl Ord for CBATTError
source§fn cmp(&self, other: &CBATTError) -> Ordering
fn cmp(&self, other: &CBATTError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for CBATTError
impl PartialEq for CBATTError
source§fn eq(&self, other: &CBATTError) -> bool
fn eq(&self, other: &CBATTError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for CBATTError
impl PartialOrd for CBATTError
source§fn partial_cmp(&self, other: &CBATTError) -> Option<Ordering>
fn partial_cmp(&self, other: &CBATTError) -> Option<Ordering>
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 CBATTError
impl RefEncode for CBATTError
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 CBATTError
impl Eq for CBATTError
impl StructuralPartialEq for CBATTError
Auto Trait Implementations§
impl Freeze for CBATTError
impl RefUnwindSafe for CBATTError
impl Send for CBATTError
impl Sync for CBATTError
impl Unpin for CBATTError
impl UnwindSafe for CBATTError
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.