pub enum ElfType {
None,
Relocatable,
Executable,
SharedObject,
Core,
}Expand description
ELF 文件类型枚举
定义了 ELF 文件的不同类型,决定了文件的用途和加载方式。
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ElfType
impl<'de> Deserialize<'de> for ElfType
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 ElfType
Auto Trait Implementations§
impl Freeze for ElfType
impl RefUnwindSafe for ElfType
impl Send for ElfType
impl Sync for ElfType
impl Unpin for ElfType
impl UnwindSafe for ElfType
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