[][src]Enum qapi_qmp::CpuInfo

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

Variants

mips

Fields of mips

props: Option<CpuInstanceProperties>qom_path: StringCPU: isizehalted: boolcurrent: boolthread_id: isizemips: CpuInfoMIPS
riscv

Fields of riscv

props: Option<CpuInstanceProperties>qom_path: StringCPU: isizehalted: boolcurrent: boolthread_id: isizeriscv: CpuInfoRISCV
x86

Fields of x86

props: Option<CpuInstanceProperties>qom_path: StringCPU: isizehalted: boolcurrent: boolthread_id: isizex86: CpuInfoX86
tricore

Fields of tricore

props: Option<CpuInstanceProperties>qom_path: StringCPU: isizehalted: boolcurrent: boolthread_id: isizetricore: CpuInfoTricore
s390

Fields of s390

props: Option<CpuInstanceProperties>qom_path: StringCPU: isizehalted: boolcurrent: boolthread_id: isizes390: CpuInfoS390
sparc

Fields of sparc

props: Option<CpuInstanceProperties>qom_path: StringCPU: isizehalted: boolcurrent: boolthread_id: isizesparc: CpuInfoSPARC
ppc

Fields of ppc

props: Option<CpuInstanceProperties>qom_path: StringCPU: isizehalted: boolcurrent: boolthread_id: isizeppc: CpuInfoPPC

Implementations

impl CpuInfo[src]

pub fn arch(&self) -> CpuInfoArch[src]

Trait Implementations

impl Clone for CpuInfo[src]

impl Debug for CpuInfo[src]

impl<'de> Deserialize<'de> for CpuInfo[src]

impl Serialize for CpuInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for CpuInfo

impl Send for CpuInfo

impl Sync for CpuInfo

impl Unpin for CpuInfo

impl UnwindSafe for CpuInfo

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.