pub trait VmiDriver: 'static {
type Architecture: Architecture;
// Required method
fn info(&self) -> Result<VmiInfo, VmiError>;
}Expand description
Base trait for all VMI driver sub-traits.
This trait provides the associated Architecture type and the
fundamental info() method for querying VM metadata.
The 'static lifetime is required in order to use the driver with the
VmiOs enumerators.
Required Associated Types§
Sourcetype Architecture: Architecture
type Architecture: Architecture
The architecture supported by the driver.