Function cpuid::identify
[−]
[src]
pub fn identify() -> Result<CpuInfo, String>
Tries to identify the current CPU and its features.
In case of successful detection, a CpuInfo
struct is returned (wrapped
with Ok
) which contains all available data about the processor.
If libcpuid encounters an error, identify
returns an Err
with
the error message inside.