Skip to main content

HypervisorBackend

Trait HypervisorBackend 

Source
pub trait HypervisorBackend:
    Hypervisor<Partition: 'static + HvlitePartition>
    + Send
    + 'static
where for<'a> Self::ProtoPartition<'a>: Send,
{ }
Expand description

Marker trait for [virt::Hypervisor] implementations that are compatible with openvmm_core.

A blanket impl is provided for any [virt::Hypervisor] whose partition type satisfies openvmm_core’s requirements. This trait exists to provide a single, clean bound for ResolvedHypervisorBackend::new.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<H> HypervisorBackend for H
where H: Hypervisor + Send + 'static, H::Partition: 'static + HvlitePartition, for<'a> H::ProtoPartition<'a>: Send,