pub enum CpuInfo {
riscv {
halted: bool,
CPU: isize,
current: bool,
qom_path: String,
thread_id: isize,
props: Option<CpuInstanceProperties>,
riscv: CpuInfoRISCV,
},
tricore {
halted: bool,
CPU: isize,
current: bool,
qom_path: String,
thread_id: isize,
props: Option<CpuInstanceProperties>,
tricore: CpuInfoTricore,
},
mips {
halted: bool,
CPU: isize,
current: bool,
qom_path: String,
thread_id: isize,
props: Option<CpuInstanceProperties>,
mips: CpuInfoMIPS,
},
ppc {
halted: bool,
CPU: isize,
current: bool,
qom_path: String,
thread_id: isize,
props: Option<CpuInstanceProperties>,
ppc: CpuInfoPPC,
},
sparc {
halted: bool,
CPU: isize,
current: bool,
qom_path: String,
thread_id: isize,
props: Option<CpuInstanceProperties>,
sparc: CpuInfoSPARC,
},
s390 {
halted: bool,
CPU: isize,
current: bool,
qom_path: String,
thread_id: isize,
props: Option<CpuInstanceProperties>,
s390: CpuInfoS390,
},
x86 {
halted: bool,
CPU: isize,
current: bool,
qom_path: String,
thread_id: isize,
props: Option<CpuInstanceProperties>,
x86: CpuInfoX86,
},
}
Variants§
riscv
tricore
mips
ppc
sparc
s390
x86
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for CpuInfo
impl<'de> Deserialize<'de> for CpuInfo
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more