Trait virt::Hv1

source ·
pub trait Hv1 {
    type Error: Error + Send + Sync + 'static;
    type Device: VpciInterruptMapper + MsiInterruptTarget;

    // Required method
    fn new_virtual_device(
        &self,
    ) -> Option<&dyn DeviceBuilder<Device = Self::Device, Error = Self::Error>>;
}

Required Associated Types§

source

type Error: Error + Send + Sync + 'static

source

type Device: VpciInterruptMapper + MsiInterruptTarget

Required Methods§

source

fn new_virtual_device( &self, ) -> Option<&dyn DeviceBuilder<Device = Self::Device, Error = Self::Error>>

Implementors§