#[repr(transparent)]pub struct BackgroundTaskCancellationReason(pub i32);
Expand description
Required features: "ApplicationModel_Background"
Tuple Fields
0: i32
Implementations
impl BackgroundTaskCancellationReason
impl BackgroundTaskCancellationReason
pub const Abort: Self = Self(0i32)
pub const Terminating: Self = Self(1i32)
pub const LoggingOff: Self = Self(2i32)
pub const ServicingUpdate: Self = Self(3i32)
pub const IdleTask: Self = Self(4i32)
pub const Uninstall: Self = Self(5i32)
pub const ConditionLoss: Self = Self(6i32)
pub const SystemPolicy: Self = Self(7i32)
pub const QuietHoursEntered: Self = Self(8i32)
pub const ExecutionTimeExceeded: Self = Self(9i32)
pub const ResourceRevocation: Self = Self(10i32)
pub const EnergySaver: Self = Self(11i32)
Trait Implementations
impl Clone for BackgroundTaskCancellationReason
impl Clone for BackgroundTaskCancellationReason
impl Copy for BackgroundTaskCancellationReason
Auto Trait Implementations
impl RefUnwindSafe for BackgroundTaskCancellationReason
impl Send for BackgroundTaskCancellationReason
impl Sync for BackgroundTaskCancellationReason
impl Unpin for BackgroundTaskCancellationReason
impl UnwindSafe for BackgroundTaskCancellationReason
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more