microvmi 0.4.0

A cross-platform, unified, low-level VM introspection API supporting multiple hypervisors
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::api::DriverType;
use std::error::Error;

#[derive(thiserror::Error, Debug)]
pub enum MicrovmiError {
    #[error("no suitable microvmi driver available")]
    NoDriverAvailable,
    #[error("driver {0:?} has not been compiled")]
    DriverNotCompiled(DriverType),
    #[error("{source}")]
    Other {
        #[from]
        source: Box<dyn Error>,
    },
}