#[repr(transparent)]pub struct SRErrorCode(pub NSInteger);
Expand description
Tuple Fields§
§0: NSInteger
Implementations§
Source§impl SRErrorCode
impl SRErrorCode
Sourcepub const InvalidEntitlement: Self
pub const InvalidEntitlement: Self
No valid entitlement found
Sourcepub const NoAuthorization: Self
pub const NoAuthorization: Self
Insufficient authorization to perform the action.
Sourcepub const DataInaccessible: Self
pub const DataInaccessible: Self
Data is not accessible at this time
Sourcepub const FetchRequestInvalid: Self
pub const FetchRequestInvalid: Self
Fetch request contained invalid values
Sourcepub const PromptDeclined: Self
pub const PromptDeclined: Self
Authorization request not completed
Trait Implementations§
Source§impl Clone for SRErrorCode
impl Clone for SRErrorCode
Source§fn clone(&self) -> SRErrorCode
fn clone(&self) -> SRErrorCode
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 SRErrorCode
impl Debug for SRErrorCode
Source§impl Encode for SRErrorCode
impl Encode for SRErrorCode
Source§impl Hash for SRErrorCode
impl Hash for SRErrorCode
Source§impl Ord for SRErrorCode
impl Ord for SRErrorCode
Source§fn cmp(&self, other: &SRErrorCode) -> Ordering
fn cmp(&self, other: &SRErrorCode) -> 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 SRErrorCode
impl PartialEq for SRErrorCode
Source§impl PartialOrd for SRErrorCode
impl PartialOrd for SRErrorCode
Source§impl RefEncode for SRErrorCode
impl RefEncode for SRErrorCode
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 SRErrorCode
impl Eq for SRErrorCode
impl StructuralPartialEq for SRErrorCode
Auto Trait Implementations§
impl Freeze for SRErrorCode
impl RefUnwindSafe for SRErrorCode
impl Send for SRErrorCode
impl Sync for SRErrorCode
impl Unpin for SRErrorCode
impl UnwindSafe for SRErrorCode
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.