#[repr(transparent)]pub struct ENErrorCode(pub NSInteger);Available on crate feature
ENCommon only.Expand description
Error codes used with ENErrorDomain.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl ENErrorCode
impl ENErrorCode
pub const Unknown: Self
Sourcepub const BadParameter: Self
pub const BadParameter: Self
Underlying failure with an unknown cause.
Sourcepub const NotEntitled: Self
pub const NotEntitled: Self
Missing or incorrect parameter.
Sourcepub const NotAuthorized: Self
pub const NotAuthorized: Self
Calling process doesn’t have the correct entitlement.
Sourcepub const Unsupported: Self
pub const Unsupported: Self
User denied this process access to Exposure Notification functionality.
Sourcepub const Invalidated: Self
pub const Invalidated: Self
Operation is not supported.
Sourcepub const BluetoothOff: Self
pub const BluetoothOff: Self
Invalidate was called before the operation completed normally.
Sourcepub const InsufficientStorage: Self
pub const InsufficientStorage: Self
Bluetooth was turned off the by user.
Sourcepub const NotEnabled: Self
pub const NotEnabled: Self
Insufficient storage space to enable Exposure Notification.
Sourcepub const InsufficientMemory: Self
pub const InsufficientMemory: Self
Internal error. This indicates a bug in this framework.
Sourcepub const RateLimited: Self
pub const RateLimited: Self
Not enough memory to perform an operation.
Sourcepub const Restricted: Self
pub const Restricted: Self
API called too frequently. See API for acceptable frequency.
Sourcepub const DataInaccessible: Self
pub const DataInaccessible: Self
File or data format problem.
Sourcepub const TravelStatusNotAvailable: Self
pub const TravelStatusNotAvailable: Self
The device must be unlocked before data is accessible.
Trait Implementations§
Source§impl Clone for ENErrorCode
impl Clone for ENErrorCode
Source§fn clone(&self) -> ENErrorCode
fn clone(&self) -> ENErrorCode
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 ENErrorCode
impl Debug for ENErrorCode
Source§impl Encode for ENErrorCode
impl Encode for ENErrorCode
Source§impl Hash for ENErrorCode
impl Hash for ENErrorCode
Source§impl Ord for ENErrorCode
impl Ord for ENErrorCode
Source§fn cmp(&self, other: &ENErrorCode) -> Ordering
fn cmp(&self, other: &ENErrorCode) -> 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 ENErrorCode
impl PartialEq for ENErrorCode
Source§impl PartialOrd for ENErrorCode
impl PartialOrd for ENErrorCode
Source§impl RefEncode for ENErrorCode
impl RefEncode for ENErrorCode
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 ENErrorCode
impl Eq for ENErrorCode
impl StructuralPartialEq for ENErrorCode
Auto Trait Implementations§
impl Freeze for ENErrorCode
impl RefUnwindSafe for ENErrorCode
impl Send for ENErrorCode
impl Sync for ENErrorCode
impl Unpin for ENErrorCode
impl UnwindSafe for ENErrorCode
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.