Trait hypervisor::Hypervisor 
source · pub trait Hypervisor: Send {
    // Required methods
    fn try_clone(&self) -> Result<Self>
       where Self: Sized;
    fn check_capability(&self, cap: HypervisorCap) -> bool;
}Expand description
A trait for checking hypervisor capabilities.
Required Methods§
sourcefn try_clone(&self) -> Result<Self>where
    Self: Sized,
 
fn try_clone(&self) -> Result<Self>where
    Self: Sized,
Makes a shallow clone of this Hypervisor.
sourcefn check_capability(&self, cap: HypervisorCap) -> bool
 
fn check_capability(&self, cap: HypervisorCap) -> bool
Checks if a particular HypervisorCap is available.