[][src]Struct acpi::Processor

pub struct Processor {
    pub processor_uid: u8,
    pub local_apic_id: u8,
    pub state: ProcessorState,
    pub is_ap: bool,
}

Fields

processor_uid: u8local_apic_id: u8state: ProcessorState

The state of this processor. Always check that the processor is not Disabled before attempting to bring it up!

is_ap: bool

Whether this processor is the Bootstrap Processor (BSP), or an Application Processor (AP). When the bootloader is entered, the BSP is the only processor running code. To run code on more than one processor, you need to "bring up" the APs.

Trait Implementations

impl Clone for Processor[src]

impl Copy for Processor[src]

impl Debug for Processor[src]

impl Eq for Processor[src]

impl PartialEq<Processor> for Processor[src]

impl StructuralEq for Processor[src]

impl StructuralPartialEq for Processor[src]

Auto Trait Implementations

impl Send for Processor

impl Sync for Processor

impl Unpin for Processor

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> 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.