Enum holochain_wasmer_host::prelude::OperatingSystem [−]
#[non_exhaustive] pub enum OperatingSystem { }
Expand description
The “operating system” field, which sometimes implies an environment, and sometimes isn’t an actual operating system.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations
impl OperatingSystem
impl OperatingSystem
pub const fn host() -> OperatingSystem
pub const fn host() -> OperatingSystem
Return the operating system for the current host.
Trait Implementations
impl Clone for OperatingSystem
impl Clone for OperatingSystem
pub fn clone(&self) -> OperatingSystem
pub fn clone(&self) -> OperatingSystem
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for OperatingSystem
impl Debug for OperatingSystem
impl Display for OperatingSystem
impl Display for OperatingSystem
impl FromStr for OperatingSystem
impl FromStr for OperatingSystem
impl Hash for OperatingSystem
impl Hash for OperatingSystem
impl PartialEq<OperatingSystem> for OperatingSystem
impl PartialEq<OperatingSystem> for OperatingSystem
pub fn eq(&self, other: &OperatingSystem) -> bool
pub fn eq(&self, other: &OperatingSystem) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &OperatingSystem) -> bool
pub fn ne(&self, other: &OperatingSystem) -> bool
This method tests for !=
.
impl Copy for OperatingSystem
impl Eq for OperatingSystem
impl StructuralEq for OperatingSystem
impl StructuralPartialEq for OperatingSystem
Auto Trait Implementations
impl RefUnwindSafe for OperatingSystem
impl Send for OperatingSystem
impl Sync for OperatingSystem
impl Unpin for OperatingSystem
impl UnwindSafe for OperatingSystem
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more