Trait vmcore::vm_task::BuildVmTaskDriver
source · pub trait BuildVmTaskDriver: Send + Sync {
type Driver: TargetedDriver;
// Required method
fn build(
&self,
name: String,
target_vp: Option<u32>,
run_on_target: bool,
) -> Self::Driver;
}
Expand description
Trait implemented by backends for VmTaskDriverSource
.
Required Associated Types§
sourcetype Driver: TargetedDriver
type Driver: TargetedDriver
The associated driver type.