Files
radarflow2-kvm/src/dma/context/connector.rs
Janek 00d883a41c feat: add native mode
- Add native mode
- Fix bomb holder search and wrong bomb holder on round starts
2024-04-17 18:43:21 +02:00

20 lines
491 B
Rust
Executable File

#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, clap::ValueEnum, Default)]
pub enum Connector {
#[default]
Qemu,
Kvm,
Pcileech,
Native
}
impl ToString for Connector {
fn to_string(&self) -> String {
match self {
Connector::Qemu => String::from("qemu"),
Connector::Kvm => String::from("kvm"),
Connector::Pcileech => String::from("pcileech"),
Connector::Native => String::from("native"),
}
}
}