pub struct SensorIntfData {
    pub value: SensorIntf<ValueIntfMsgFns>,
    pub writable_value: SensorIntf<ValueIntfMsgFns>,
    pub availability: SensorIntf<AvailabilityIntfMsgFns>,
    pub opstatus: SensorIntf<OpStatusIntfMsgFns>,
    pub thresholds: [SensorIntf<ThresholdIntfMsgFns>; 5],
    pub assoc: SensorIntf<AssocIntfMsgFns>,
}
Expand description

The aggregate of all the dbus interfaces for a sensor.

Fields

value: SensorIntf<ValueIntfMsgFns>

The xyz.openbmc_project.Sensor.Value interface.

writable_value: SensorIntf<ValueIntfMsgFns>

The xyz.openbmc_project.Sensor.Value interface, with a writable Value property.

availability: SensorIntf<AvailabilityIntfMsgFns>

The xyz.openbmc_project.State.Decorator.Availability interface.

opstatus: SensorIntf<OpStatusIntfMsgFns>

The xyz.openbmc_project.State.Decorator.OperationalStatus interface.

thresholds: [SensorIntf<ThresholdIntfMsgFns>; 5]

A per-severity-level array of xyz.openbmc_project.Sensor.Threshold.$everity interfaces.

assoc: SensorIntf<AssocIntfMsgFns>

The xyz.openbmc_project.Association.Definitions interface.

Implementations

Construct SensorIntfData.

Retrieve the appropriate Value interface for the specified writability.

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.