#[repr(transparent)]pub struct AppRestartFailureReason(pub i32);
Expand description
Required features: "ApplicationModel_Core"
Tuple Fields
0: i32
Implementations
impl AppRestartFailureReason
impl AppRestartFailureReason
pub const RestartPending: Self = Self(0i32)
pub const NotInForeground: Self = Self(1i32)
pub const InvalidUser: Self = Self(2i32)
pub const Other: Self = Self(3i32)
Trait Implementations
impl Clone for AppRestartFailureReason
impl Clone for AppRestartFailureReason
impl Copy for AppRestartFailureReason
Auto Trait Implementations
impl RefUnwindSafe for AppRestartFailureReason
impl Send for AppRestartFailureReason
impl Sync for AppRestartFailureReason
impl Unpin for AppRestartFailureReason
impl UnwindSafe for AppRestartFailureReason
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