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§

source

fn try_clone(&self) -> Result<Self>
where Self: Sized,

Makes a shallow clone of this Hypervisor.

source

fn check_capability(&self, cap: HypervisorCap) -> bool

Checks if a particular HypervisorCap is available.

Implementors§