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