pub enum SubSystem {
Show 14 variants
Unknown,
WindowsGUI,
WindowsCLI,
OS2CLI,
POSIX,
NativeCode,
NativeDriver,
WindowsCE,
EFI,
EFIBoot,
EFIRom,
EFIRuntimeDriver,
Xbox,
WindowsBoot,
}
Expand description
PE32 files may be for different subsystems in Windows.
Some notable examples are graphical vs. command line applications, EFI applications, etc.
Variants§
Unknown
Unknown subsystem
WindowsGUI
Graphical Windows
WindowsCLI
Command-line Windows
OS2CLI
Command-line OS/2
POSIX
Posix subsystem
NativeCode
Native code
NativeDriver
Native driver
WindowsCE
Windows CE (embedded)
EFI
EFI (Extensible Firmware Interface) application
EFIBoot
EFI driver with boot services
EFIRom
EFI ROM image
EFIRuntimeDriver
EFI driver with runtime services
Xbox
Xbox application
WindowsBoot
Windows Boot application
Implementations§
Trait Implementations§
impl Eq for SubSystem
impl StructuralPartialEq for SubSystem
Auto Trait Implementations§
impl Freeze for SubSystem
impl RefUnwindSafe for SubSystem
impl Send for SubSystem
impl Sync for SubSystem
impl Unpin for SubSystem
impl UnwindSafe for SubSystem
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more