#[repr(transparent)]pub struct DDErrorCode(pub NSInteger);Available on crate feature
DDErrors only.Expand description
Error codes used with DDErrorDomain. DeviceDiscoveryExtension error code range: 350000-350999.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl DDErrorCode
impl DDErrorCode
pub const Success: Self
Sourcepub const BadParameter: Self
pub const BadParameter: Self
Underlying failure with an unknown cause.
Sourcepub const Unsupported: Self
pub const Unsupported: Self
Bad parameter.
Sourcepub const MissingEntitlement: Self
pub const MissingEntitlement: Self
Internal problem.
Sourcepub const Permission: Self
pub const Permission: Self
Missing entitlement.
Trait Implementations§
Source§impl Clone for DDErrorCode
impl Clone for DDErrorCode
Source§fn clone(&self) -> DDErrorCode
fn clone(&self) -> DDErrorCode
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 DDErrorCode
impl Debug for DDErrorCode
Source§impl Encode for DDErrorCode
impl Encode for DDErrorCode
Source§impl Hash for DDErrorCode
impl Hash for DDErrorCode
Source§impl Ord for DDErrorCode
impl Ord for DDErrorCode
Source§fn cmp(&self, other: &DDErrorCode) -> Ordering
fn cmp(&self, other: &DDErrorCode) -> 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 DDErrorCode
impl PartialEq for DDErrorCode
Source§impl PartialOrd for DDErrorCode
impl PartialOrd for DDErrorCode
Source§impl RefEncode for DDErrorCode
impl RefEncode for DDErrorCode
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 DDErrorCode
impl Eq for DDErrorCode
impl StructuralPartialEq for DDErrorCode
Auto Trait Implementations§
impl Freeze for DDErrorCode
impl RefUnwindSafe for DDErrorCode
impl Send for DDErrorCode
impl Sync for DDErrorCode
impl Unpin for DDErrorCode
impl UnwindSafe for DDErrorCode
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.