[][src]Struct dmidecode::processor::Processor

pub struct Processor<'buffer> {
    pub handle: u16,
    pub socket_designation: &'buffer str,
    pub processor_type: ProcessorType,
    pub processor_family: u16,
    pub processor_manufacturer: &'buffer str,
    pub processor_id: u64,
    pub processor_version: &'buffer str,
    pub voltage: u8,
    pub external_clock: u16,
    pub max_speed: u16,
    pub current_speed: u16,
    pub status: ProcessorStatus,
    pub processor_upgrade: u8,
    pub l1_cache_handle: Option<u16>,
    pub l2_cache_handle: Option<u16>,
    pub l3_cache_handle: Option<u16>,
    pub serial_number: Option<&'buffer str>,
    pub asset_tag: Option<&'buffer str>,
    pub part_number: Option<&'buffer str>,
    pub core_count: Option<u16>,
    pub core_enabled: Option<u16>,
    pub thread_count: Option<u16>,
    pub processor_characteristics: Option<ProcessorCharacteristics>,
}

The Processor table defined in the SMBIOS specification.

Optional fields will only be set if the version of the parsed SMBIOS table is high enough to have defined the field.

Fields

handle: u16socket_designation: &'buffer strprocessor_type: ProcessorTypeprocessor_family: u16processor_manufacturer: &'buffer strprocessor_id: u64processor_version: &'buffer strvoltage: u8external_clock: u16max_speed: u16current_speed: u16status: ProcessorStatusprocessor_upgrade: u8l1_cache_handle: Option<u16>l2_cache_handle: Option<u16>l3_cache_handle: Option<u16>serial_number: Option<&'buffer str>asset_tag: Option<&'buffer str>part_number: Option<&'buffer str>core_count: Option<u16>core_enabled: Option<u16>thread_count: Option<u16>processor_characteristics: Option<ProcessorCharacteristics>

Trait Implementations

impl<'buffer> Clone for Processor<'buffer>[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'buffer> Debug for Processor<'buffer>[src]

impl<'buffer> PartialEq<Processor<'buffer>> for Processor<'buffer>[src]

impl<'buffer> Eq for Processor<'buffer>[src]

impl<'buffer> Hash for Processor<'buffer>[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl<'buffer> Send for Processor<'buffer>

impl<'buffer> Sync for Processor<'buffer>

Blanket Implementations

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

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

type Owned = T