rustcracker 1.1.1+deprecated

A crate for communicating with firecracker for the development of PKU-cloud.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub mod sync;
pub mod tokio;
pub use sync::Hypervisor as HypervisorSync;
pub use tokio::Hypervisor;

#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub enum MicroVMStatus {
    None,    // no microVM running now
    Start,   // in stage of staring
    Running, // microVM running
    Paused,  // microVM paused
    Stop,    // microVM stopped
    Delete,  // microVM deleted, waiting its resources to be collected
    Failure, // microVM encountered failure
}