#[repr(transparent)]pub struct AAAttributionErrorCode(pub NSInteger);
Available on crate feature
AAAttribution
only.Expand description
The error codes that may be returned by AAAttribution.
See also Apple’s documentation
Tuple Fields§
§0: NSInteger
Implementations§
Source§impl AAAttributionErrorCode
impl AAAttributionErrorCode
Sourcepub const NetworkError: Self
pub const NetworkError: Self
attributionTokenWithError: is unable to provide a token because the internet isn’t available.
To receive an attribution token, you must have unimpeded internet access. Make sure you’re not using a simulator when generating a token.
Sourcepub const InternalError: Self
pub const InternalError: Self
attributionTokenWithError: is unable to provide a token because of an internal error.
Sourcepub const PlatformNotSupported: Self
pub const PlatformNotSupported: Self
attributionTokenWithError: is unable to provide a token because of an unsupported operating system.
Trait Implementations§
Source§impl Clone for AAAttributionErrorCode
impl Clone for AAAttributionErrorCode
Source§fn clone(&self) -> AAAttributionErrorCode
fn clone(&self) -> AAAttributionErrorCode
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 AAAttributionErrorCode
impl Debug for AAAttributionErrorCode
Source§impl Encode for AAAttributionErrorCode
impl Encode for AAAttributionErrorCode
Source§impl Hash for AAAttributionErrorCode
impl Hash for AAAttributionErrorCode
Source§impl Ord for AAAttributionErrorCode
impl Ord for AAAttributionErrorCode
Source§fn cmp(&self, other: &AAAttributionErrorCode) -> Ordering
fn cmp(&self, other: &AAAttributionErrorCode) -> 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 AAAttributionErrorCode
impl PartialEq for AAAttributionErrorCode
Source§impl PartialOrd for AAAttributionErrorCode
impl PartialOrd for AAAttributionErrorCode
Source§impl RefEncode for AAAttributionErrorCode
impl RefEncode for AAAttributionErrorCode
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 AAAttributionErrorCode
impl Eq for AAAttributionErrorCode
impl StructuralPartialEq for AAAttributionErrorCode
Auto Trait Implementations§
impl Freeze for AAAttributionErrorCode
impl RefUnwindSafe for AAAttributionErrorCode
impl Send for AAAttributionErrorCode
impl Sync for AAAttributionErrorCode
impl Unpin for AAAttributionErrorCode
impl UnwindSafe for AAAttributionErrorCode
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.