virt

Trait 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§