#[repr(transparent)]pub struct CBATTError(pub NSInteger);
Available on crate feature
CBError
only.Expand description
Tuple Fields§
§0: NSInteger
Implementations§
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 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 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§impl PartialOrd for CBATTError
impl PartialOrd for CBATTError
Source§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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.