#[repr(transparent)]pub struct ASErrorCode(pub NSInteger);Available on crate feature
ASErrors only.Expand description
Error codes used with ASErrorDomain.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl ASErrorCode
impl ASErrorCode
Sourcepub const ActivationFailed: Self
pub const ActivationFailed: Self
Session activation failed.
Sourcepub const ConnectionFailed: Self
pub const ConnectionFailed: Self
The session was unable to establish a connection.
Sourcepub const DiscoveryTimeout: Self
pub const DiscoveryTimeout: Self
Accessory discovery timed out.
Sourcepub const ExtensionNotFound: Self
pub const ExtensionNotFound: Self
The framework couldn’t find the app extension.
Sourcepub const Invalidated: Self
pub const Invalidated: Self
The session invalidated prior to completing the operation.
Sourcepub const InvalidRequest: Self
pub const InvalidRequest: Self
The session received an invalid request.
Sourcepub const PickerAlreadyActive: Self
pub const PickerAlreadyActive: Self
The picker received a show request when it was already active.
Sourcepub const PickerRestricted: Self
pub const PickerRestricted: Self
The picker can’t be used because the app is in the background.
Sourcepub const UserCancelled: Self
pub const UserCancelled: Self
The person using the app canceled the operation.
Sourcepub const UserRestricted: Self
pub const UserRestricted: Self
The person using the app restricted access.
Trait Implementations§
Source§impl Clone for ASErrorCode
impl Clone for ASErrorCode
Source§fn clone(&self) -> ASErrorCode
fn clone(&self) -> ASErrorCode
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 ASErrorCode
impl Debug for ASErrorCode
Source§impl Encode for ASErrorCode
impl Encode for ASErrorCode
Source§impl Hash for ASErrorCode
impl Hash for ASErrorCode
Source§impl Ord for ASErrorCode
impl Ord for ASErrorCode
Source§fn cmp(&self, other: &ASErrorCode) -> Ordering
fn cmp(&self, other: &ASErrorCode) -> 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 ASErrorCode
impl PartialEq for ASErrorCode
Source§impl PartialOrd for ASErrorCode
impl PartialOrd for ASErrorCode
Source§impl RefEncode for ASErrorCode
impl RefEncode for ASErrorCode
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 ASErrorCode
impl Eq for ASErrorCode
impl StructuralPartialEq for ASErrorCode
Auto Trait Implementations§
impl Freeze for ASErrorCode
impl RefUnwindSafe for ASErrorCode
impl Send for ASErrorCode
impl Sync for ASErrorCode
impl Unpin for ASErrorCode
impl UnwindSafe for ASErrorCode
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.