pub struct HostState {
    pub chassis_on: bool,
    pub power_on: bool,
    pub post_complete: bool,
}
Expand description

Represents various attributes of a host system’s power state.

Fields

chassis_on: bool

Whether or not chassis power is on.

power_on: bool

Whether or not host system power is on.

post_complete: bool

Whether or not the host system has completed its POST phase.

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.