pub struct HostContext {
pub vm_host_info: Option<VmHostInfo>,
pub vendor: Vendor,
pub execution_environment: ExecutionEnvironment,
}Expand description
Platform-specific host context extending the base HostContext
Fields§
§vm_host_info: Option<VmHostInfo>VmHost information retrieved via PowerShell
vendor: VendorCPU vendor
execution_environment: ExecutionEnvironmentExecution environment
Implementations§
Source§impl HostContext
impl HostContext
Trait Implementations§
Source§impl Clone for HostContext
impl Clone for HostContext
Source§fn clone(&self) -> HostContext
fn clone(&self) -> HostContext
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 moreAuto Trait Implementations§
impl Freeze for HostContext
impl RefUnwindSafe for HostContext
impl Send for HostContext
impl Sync for HostContext
impl Unpin for HostContext
impl UnwindSafe for HostContext
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