pub enum MachoType {
Object,
Execute,
FvmLib,
Core,
PreLoad,
Dylib,
Dylinker,
Bundle,
DylibStub,
Dsym,
KextBundle,
}Expand description
Mach-O 文件类型枚举
定义了 Mach-O 文件的不同类型,决定了文件的用途和加载方式。
Variants§
Object
目标文件
Execute
可执行文件
FvmLib
固定虚拟内存共享库
Core
核心转储文件
PreLoad
预加载的可执行文件
Dylib
动态共享库
Dylinker
动态链接器
Bundle
动态加载的包
DylibStub
动态共享库存根
Dsym
配套的调试符号文件
KextBundle
x86_64 kext 包
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MachoType
impl<'de> Deserialize<'de> for MachoType
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
impl Copy for MachoType
Auto Trait Implementations§
impl Freeze for MachoType
impl RefUnwindSafe for MachoType
impl Send for MachoType
impl Sync for MachoType
impl Unpin for MachoType
impl UnsafeUnpin for MachoType
impl UnwindSafe for MachoType
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