pub struct HypervisorInfo { /* private fields */ }
Expand description

Information about Hypervisor (LEAF=0x4000_0001)

More information about this semi-official leaf can be found here https://lwn.net/Articles/301888/

Implementations

Returns the identity of the Hypervisor.

Technical Background

The value is a 12-byte (12 character) fixed-length ASCII string.

Usually all of these IDs can be found in the original source code on Github relatively easy (if the project is open source). Once you have an ID, you find cumulated lists with all kinds of IDs on Github relatively easy.

TSC frequency in kHz.

(Virtual) Bus (local apic timer) frequency in kHz.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.