pub enum CpuInfo {
sparc {
current: bool,
CPU: isize,
thread_id: isize,
qom_path: String,
props: Option<CpuInstanceProperties>,
halted: bool,
sparc: CpuInfoSPARC,
},
mips {
current: bool,
CPU: isize,
thread_id: isize,
qom_path: String,
props: Option<CpuInstanceProperties>,
halted: bool,
mips: CpuInfoMIPS,
},
tricore {
current: bool,
CPU: isize,
thread_id: isize,
qom_path: String,
props: Option<CpuInstanceProperties>,
halted: bool,
tricore: CpuInfoTricore,
},
ppc {
current: bool,
CPU: isize,
thread_id: isize,
qom_path: String,
props: Option<CpuInstanceProperties>,
halted: bool,
ppc: CpuInfoPPC,
},
x86 {
current: bool,
CPU: isize,
thread_id: isize,
qom_path: String,
props: Option<CpuInstanceProperties>,
halted: bool,
x86: CpuInfoX86,
},
s390 {
current: bool,
CPU: isize,
thread_id: isize,
qom_path: String,
props: Option<CpuInstanceProperties>,
halted: bool,
s390: CpuInfoS390,
},
riscv {
current: bool,
CPU: isize,
thread_id: isize,
qom_path: String,
props: Option<CpuInstanceProperties>,
halted: bool,
riscv: CpuInfoRISCV,
},
}
Variants§
sparc
mips
tricore
ppc
x86
s390
riscv
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