Struct warpgate_pdk::HostEnvironment
source · pub struct HostEnvironment {
pub arch: SystemArch,
pub libc: SystemLibc,
pub os: SystemOS,
pub home_dir: VirtualPath,
}
Expand description
Information about the host environment (the current runtime).
Fields§
§arch: SystemArch
§libc: SystemLibc
§os: SystemOS
§home_dir: VirtualPath
Trait Implementations§
source§impl Clone for HostEnvironment
impl Clone for HostEnvironment
source§fn clone(&self) -> HostEnvironment
fn clone(&self) -> HostEnvironment
Returns a copy 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 HostEnvironment
impl Debug for HostEnvironment
source§impl Default for HostEnvironment
impl Default for HostEnvironment
source§fn default() -> HostEnvironment
fn default() -> HostEnvironment
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for HostEnvironmentwhere
HostEnvironment: Default,
impl<'de> Deserialize<'de> for HostEnvironmentwhere
HostEnvironment: Default,
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<HostEnvironment, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<HostEnvironment, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for HostEnvironment
impl PartialEq for HostEnvironment
source§fn eq(&self, other: &HostEnvironment) -> bool
fn eq(&self, other: &HostEnvironment) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for HostEnvironment
impl Serialize for HostEnvironment
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 HostEnvironment
Auto Trait Implementations§
impl Freeze for HostEnvironment
impl RefUnwindSafe for HostEnvironment
impl Send for HostEnvironment
impl Sync for HostEnvironment
impl Unpin for HostEnvironment
impl UnwindSafe for HostEnvironment
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