pub enum PeEnvironment {
UserMode,
KernelMode,
UEFI,
}
Expand description
Supported PE environments.
Variants§
Trait Implementations§
Source§impl Clone for PeEnvironment
impl Clone for PeEnvironment
Source§fn clone(&self) -> PeEnvironment
fn clone(&self) -> PeEnvironment
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 PeEnvironment
impl Debug for PeEnvironment
Source§impl<'de> Deserialize<'de> for PeEnvironment
impl<'de> Deserialize<'de> for PeEnvironment
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 Ord for PeEnvironment
impl Ord for PeEnvironment
Source§fn cmp(&self, other: &PeEnvironment) -> Ordering
fn cmp(&self, other: &PeEnvironment) -> Ordering
1.21.0 · 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
Source§impl PartialEq for PeEnvironment
impl PartialEq for PeEnvironment
Source§impl PartialOrd for PeEnvironment
impl PartialOrd for PeEnvironment
Source§impl Serialize for PeEnvironment
impl Serialize for PeEnvironment
impl Copy for PeEnvironment
impl Eq for PeEnvironment
impl StructuralPartialEq for PeEnvironment
Auto Trait Implementations§
impl Freeze for PeEnvironment
impl RefUnwindSafe for PeEnvironment
impl Send for PeEnvironment
impl Sync for PeEnvironment
impl Unpin for PeEnvironment
impl UnwindSafe for PeEnvironment
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