Struct omnisensor::threshold::ThresholdIntfMsgFns
source · [−]pub struct ThresholdIntfMsgFns {
bounds: [ThresholdBoundIntfMsgFns; 2],
}
Expand description
The PropChgMsgFn
s for the xyz.openbmc_project.Sensor.Threshold.*
interfaces.
Fields
bounds: [ThresholdBoundIntfMsgFns; 2]
Implementations
sourceimpl ThresholdIntfMsgFns
impl ThresholdIntfMsgFns
sourcefn build(cr: &mut Crossroads, sev: ThresholdSeverity) -> SensorIntf<Self>
fn build(cr: &mut Crossroads, sev: ThresholdSeverity) -> SensorIntf<Self>
Construct a threshold interface for the given severity sev
.
Auto Trait Implementations
impl !RefUnwindSafe for ThresholdIntfMsgFns
impl Send for ThresholdIntfMsgFns
impl Sync for ThresholdIntfMsgFns
impl Unpin for ThresholdIntfMsgFns
impl !UnwindSafe for ThresholdIntfMsgFns
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more