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