Enum ElfData
pub enum ElfData {
NONE,
LSB,
MSB,
UNKNOWN(u32),
}Expand description
Match the result Elfxx_Ehdr.e_ident[EI_DATA]
Variants§
NONE
Invalid data encoding
LSB
2’s complement, little endian
MSB
2’s complement, big endian
UNKNOWN(u32)
Trait Implementations§
impl Copy for ElfData
impl Eq for ElfData
§impl Ord for ElfData
impl Ord for ElfData
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for ElfData
impl PartialOrd for ElfData
impl StructuralPartialEq for ElfData
Auto Trait Implementations§
impl Freeze for ElfData
impl RefUnwindSafe for ElfData
impl Send for ElfData
impl Sync for ElfData
impl Unpin for ElfData
impl UnsafeUnpin for ElfData
impl UnwindSafe for ElfData
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