pub enum SubsystemType {
Console,
Windows,
Native,
Posix,
WindowsCe,
Efi,
EfiBootServiceDriver,
EfiRuntimeDriver,
EfiRom,
Xbox,
WindowsBootApplication,
}Expand description
PE 子系统类型枚举
定义了 Windows PE 文件可以使用的各种子系统类型, 这些类型决定了程序运行时的环境和依赖。
Variants§
Console
控制台应用程序,运行在控制台窗口中
Windows
Windows GUI 应用程序,具有图形界面
Native
原生驱动程序,运行在核心态
Posix
POSIX 子系统应用程序
WindowsCe
Windows CE 子系统
Efi
EFI 应用程序
EfiBootServiceDriver
EFI 启动服务驱动程序
EfiRuntimeDriver
EFI 运行时驱动程序
EfiRom
EFI ROM 映像
Xbox
Xbox 应用程序
WindowsBootApplication
Windows 启动应用程序
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 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