Struct smbioslib::ProcessorSpecificBlock[][src]

pub struct ProcessorSpecificBlock<'a> {
    pub raw: &'a [u8],
}

Fields

raw: &'a [u8]

Raw byte slice for this processor specific block

Implementations

impl<'a> ProcessorSpecificBlock<'a>[src]

pub fn block_length(&self) -> u8[src]

Length of ‘processor_specific_data’

pub fn processor_type(&self) -> ProcessorArchitectureTypeData[src]

The processor architecture delineated by this ‘ProcessorSpecificBlock’.

pub fn processor_specific_data(&self) -> &'a [u8]

Notable traits for &'_ mut [u8]

impl<'_> Write for &'_ mut [u8]impl<'_> Read for &'_ [u8]
[src]

Offset of the field within the structure referenced by the Referenced Handle for which additional information is provided

Trait Implementations

impl Debug for ProcessorSpecificBlock<'_>[src]

Auto Trait Implementations

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> From<T> for T[src]

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

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.