#[repr(transparent)]pub struct SystemConditionType(pub i32);
Expand description
Required features: "ApplicationModel_Background"
Tuple Fields
0: i32
Implementations
impl SystemConditionType
impl SystemConditionType
pub const Invalid: Self = Self(0i32)
pub const UserPresent: Self = Self(1i32)
pub const UserNotPresent: Self = Self(2i32)
pub const InternetAvailable: Self = Self(3i32)
pub const InternetNotAvailable: Self = Self(4i32)
pub const SessionConnected: Self = Self(5i32)
pub const SessionDisconnected: Self = Self(6i32)
pub const FreeNetworkAvailable: Self = Self(7i32)
pub const BackgroundWorkCostNotHigh: Self = Self(8i32)
Trait Implementations
impl Clone for SystemConditionType
impl Clone for SystemConditionType
impl Copy for SystemConditionType
Auto Trait Implementations
impl RefUnwindSafe for SystemConditionType
impl Send for SystemConditionType
impl Sync for SystemConditionType
impl Unpin for SystemConditionType
impl UnwindSafe for SystemConditionType
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