pub enum StoreKitApiErrorCode {
Unknown,
UserCancelled,
NetworkError,
SystemError,
NotAvailableInStorefront,
NotEntitled,
Unsupported,
Other(String),
}Expand description
Wraps the code space of StoreKit.StoreKitError.
Variants§
Unknown
Preserves an unrecognized StoreKit case.
UserCancelled
The person cancelled the StoreKit flow.
NetworkError
Represents the NetworkError StoreKit case.
SystemError
Represents the SystemError StoreKit case.
NotAvailableInStorefront
Represents the NotAvailableInStorefront StoreKit case.
NotEntitled
Represents the NotEntitled StoreKit case.
Unsupported
Represents the Unsupported StoreKit case.
Other(String)
Represents the other StoreKit case.
Implementations§
Trait Implementations§
Source§impl Clone for StoreKitApiErrorCode
impl Clone for StoreKitApiErrorCode
Source§fn clone(&self) -> StoreKitApiErrorCode
fn clone(&self) -> StoreKitApiErrorCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StoreKitApiErrorCode
impl Debug for StoreKitApiErrorCode
Source§impl PartialEq for StoreKitApiErrorCode
impl PartialEq for StoreKitApiErrorCode
Source§fn eq(&self, other: &StoreKitApiErrorCode) -> bool
fn eq(&self, other: &StoreKitApiErrorCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for StoreKitApiErrorCode
impl StructuralPartialEq for StoreKitApiErrorCode
Auto Trait Implementations§
impl Freeze for StoreKitApiErrorCode
impl RefUnwindSafe for StoreKitApiErrorCode
impl Send for StoreKitApiErrorCode
impl Sync for StoreKitApiErrorCode
impl Unpin for StoreKitApiErrorCode
impl UnsafeUnpin for StoreKitApiErrorCode
impl UnwindSafe for StoreKitApiErrorCode
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