#[non_exhaustive]pub enum ApplicationType {
Unknown,
MainWindow,
OtherWindow,
Service,
Explorer,
Console,
Critical,
Unrecognized(i32),
}Expand description
The kind of an affected application, corresponding to RM_APP_TYPE.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unknown
Windows explicitly reported RmUnknownApp.
MainWindow
An application with a top-level window.
OtherWindow
An application without a top-level window.
Service
A Windows service.
Explorer
Windows Explorer.
Console
A console application.
Critical
Windows reported RmCritical.
This can describe applications that cannot be shut down without a reboot; it is not merely a process criticality flag.
Unrecognized(i32)
A value introduced by a newer Windows version.
Implementations§
Trait Implementations§
Source§impl Clone for ApplicationType
impl Clone for ApplicationType
Source§fn clone(&self) -> ApplicationType
fn clone(&self) -> ApplicationType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ApplicationType
Source§impl Debug for ApplicationType
impl Debug for ApplicationType
impl Eq for ApplicationType
Source§impl Hash for ApplicationType
impl Hash for ApplicationType
Source§impl PartialEq for ApplicationType
impl PartialEq for ApplicationType
impl StructuralPartialEq for ApplicationType
Auto Trait Implementations§
impl Freeze for ApplicationType
impl RefUnwindSafe for ApplicationType
impl Send for ApplicationType
impl Sync for ApplicationType
impl Unpin for ApplicationType
impl UnsafeUnpin for ApplicationType
impl UnwindSafe for ApplicationType
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