pub enum EndKind {
Quit,
Logout,
}Expand description
Why the OS asks the app to end.
Variants§
Quit
Dock ▸ Quit or another app asking this one to quit.
Logout
The user logs out, restarts or shuts down.
Trait Implementations§
impl Copy for EndKind
impl Eq for EndKind
impl StructuralPartialEq for EndKind
Auto Trait Implementations§
impl Forget for EndKind
impl Freeze for EndKind
impl Move for EndKind
impl RefUnwindSafe for EndKind
impl Send for EndKind
impl Sync for EndKind
impl Unpin for EndKind
impl UnsafeUnpin for EndKind
impl UnwindSafe for EndKind
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