pub struct BackgroundExecutionManager;
Implementations§
§impl BackgroundExecutionManager
impl BackgroundExecutionManager
pub fn RequestAccessAsync() -> Result<IAsyncOperation<BackgroundAccessStatus>>
pub fn RequestAccessForApplicationAsync( applicationid: &HSTRING, ) -> Result<IAsyncOperation<BackgroundAccessStatus>>
pub fn RemoveAccess() -> Result<()>
pub fn RemoveAccessForApplication(applicationid: &HSTRING) -> Result<()>
pub fn GetAccessStatus() -> Result<BackgroundAccessStatus>
pub fn GetAccessStatusForApplication( applicationid: &HSTRING, ) -> Result<BackgroundAccessStatus>
pub fn RequestAccessKindAsync( requestedaccess: BackgroundAccessRequestKind, reason: &HSTRING, ) -> Result<IAsyncOperation<bool>>
pub fn RequestAccessKindForModernStandbyAsync( requestedaccess: BackgroundAccessRequestKind, reason: &HSTRING, ) -> Result<IAsyncOperation<bool>>
pub fn GetAccessStatusForModernStandby() -> Result<BackgroundAccessStatus>
pub fn GetAccessStatusForModernStandbyForApplication( applicationid: &HSTRING, ) -> Result<BackgroundAccessStatus>
Auto Trait Implementations§
impl Freeze for BackgroundExecutionManager
impl RefUnwindSafe for BackgroundExecutionManager
impl Send for BackgroundExecutionManager
impl Sync for BackgroundExecutionManager
impl Unpin for BackgroundExecutionManager
impl UnwindSafe for BackgroundExecutionManager
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