Struct omnisensor::sensor::OpStatusIntfMsgFns  
source · [−]pub struct OpStatusIntfMsgFns {
    pub functional: Arc<dyn Fn(&Path<'_>, &dyn RefArg) -> Option<Message> + Send + Sync>,
}Expand description
The PropChgMsgFn for the xyz.openbmc_project.State.Decorator.OperationalStatus
interface.
Fields
functional: Arc<dyn Fn(&Path<'_>, &dyn RefArg) -> Option<Message> + Send + Sync>Implementations
sourceimpl OpStatusIntfMsgFns
 
impl OpStatusIntfMsgFns
sourcefn build(cr: &mut Crossroads) -> SensorIntf<Self>
 
fn build(cr: &mut Crossroads) -> SensorIntf<Self>
Construct the xyz.openbmc_project.State.Decorator.OperationalStatus interface.
Auto Trait Implementations
impl !RefUnwindSafe for OpStatusIntfMsgFns
impl Send for OpStatusIntfMsgFns
impl Sync for OpStatusIntfMsgFns
impl Unpin for OpStatusIntfMsgFns
impl !UnwindSafe for OpStatusIntfMsgFns
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