pub struct AsyncStorefront;Available on crate feature
async only.Expand description
Async wrapper for Storefront.current.
Returns the current App Store storefront, or None if no storefront is
available (e.g. the device is not connected to the App Store).
Implementations§
Source§impl AsyncStorefront
impl AsyncStorefront
Sourcepub fn current() -> StorefrontCurrentFuture ⓘ
pub fn current() -> StorefrontCurrentFuture ⓘ
Asynchronously fetch Storefront.current.
Equivalent to Storefront.current in Swift.
Trait Implementations§
Source§impl Clone for AsyncStorefront
impl Clone for AsyncStorefront
Source§fn clone(&self) -> AsyncStorefront
fn clone(&self) -> AsyncStorefront
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 AsyncStorefront
impl Debug for AsyncStorefront
impl Copy for AsyncStorefront
Auto Trait Implementations§
impl Freeze for AsyncStorefront
impl RefUnwindSafe for AsyncStorefront
impl Send for AsyncStorefront
impl Sync for AsyncStorefront
impl Unpin for AsyncStorefront
impl UnsafeUnpin for AsyncStorefront
impl UnwindSafe for AsyncStorefront
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