pub enum StoreKitError {
InvalidArgument(String),
TimedOut(String),
NotSupported(String),
Framework(StoreKitFrameworkError),
Verification(VerificationFailure),
Unknown(String),
}Variants§
InvalidArgument(String)
TimedOut(String)
NotSupported(String)
Framework(StoreKitFrameworkError)
Verification(VerificationFailure)
Unknown(String)
Implementations§
Source§impl StoreKitError
impl StoreKitError
pub fn typed(&self) -> Option<TypedStoreKitError>
pub fn storekit_api_error(&self) -> Option<StoreKitApiError>
pub fn product_purchase_error(&self) -> Option<ProductPurchaseError>
pub fn refund_request_error(&self) -> Option<RefundRequestError>
pub fn invalid_request_error(&self) -> Option<InvalidRequestError>
Trait Implementations§
Source§impl Clone for StoreKitError
impl Clone for StoreKitError
Source§fn clone(&self) -> StoreKitError
fn clone(&self) -> StoreKitError
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 StoreKitError
impl Debug for StoreKitError
Source§impl Display for StoreKitError
impl Display for StoreKitError
Source§impl Error for StoreKitError
impl Error for StoreKitError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for StoreKitError
impl RefUnwindSafe for StoreKitError
impl Send for StoreKitError
impl Sync for StoreKitError
impl Unpin for StoreKitError
impl UnsafeUnpin for StoreKitError
impl UnwindSafe for StoreKitError
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