pub enum SubsystemType {
Console,
Windows,
Native,
Posix,
WindowsCe,
Efi,
EfiBootServiceDriver,
EfiRuntimeDriver,
EfiRom,
Xbox,
WindowsBootApplication,
}Expand description
PE subsystem type enum
Defines the various subsystem types that a Windows PE file can use, which determine the runtime environment and dependencies of the program.
Variants§
Console
Console application, runs in a console window
Windows
Windows GUI application, has a graphical interface
Native
Native driver, runs in kernel mode
Posix
POSIX subsystem application
WindowsCe
Windows CE subsystem
Efi
EFI application
EfiBootServiceDriver
EFI boot service driver
EfiRuntimeDriver
EFI runtime driver
EfiRom
EFI ROM image
Xbox
Xbox application
WindowsBootApplication
Windows boot application
Trait Implementations§
Source§impl Clone for SubsystemType
impl Clone for SubsystemType
Source§fn clone(&self) -> SubsystemType
fn clone(&self) -> SubsystemType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SubsystemType
impl Debug for SubsystemType
Source§impl<'de> Deserialize<'de> for SubsystemType
impl<'de> Deserialize<'de> for SubsystemType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SubsystemType
impl Display for SubsystemType
Source§impl From<u16> for SubsystemType
impl From<u16> for SubsystemType
Source§impl Serialize for SubsystemType
impl Serialize for SubsystemType
impl Copy for SubsystemType
Auto Trait Implementations§
impl Freeze for SubsystemType
impl RefUnwindSafe for SubsystemType
impl Send for SubsystemType
impl Sync for SubsystemType
impl Unpin for SubsystemType
impl UnsafeUnpin for SubsystemType
impl UnwindSafe for SubsystemType
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