pub enum TargetOs {
Unknown,
Windows,
Linux,
}Expand description
The operating system of a loaded binary, inferred from its container format.
The enum now lives in the leaf wazabin_binary crate (next to the container
parsers); re-exported here so qcode::context::TargetOs keeps resolving.
The operating system of a loaded binary, inferred from its container format.
Variants§
Trait Implementations§
impl Copy for TargetOs
Source§impl<'de> Deserialize<'de> for TargetOs
impl<'de> Deserialize<'de> for TargetOs
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TargetOs, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TargetOs, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TargetOs
Source§impl Serialize for TargetOs
impl Serialize for TargetOs
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for TargetOs
Auto Trait Implementations§
impl Freeze for TargetOs
impl RefUnwindSafe for TargetOs
impl Send for TargetOs
impl Sync for TargetOs
impl Unpin for TargetOs
impl UnsafeUnpin for TargetOs
impl UnwindSafe for TargetOs
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