Function offers
pub fn offers(bus: &dyn Bus, contract: &Contract) -> boolExpand description
Whether bus offers contract: it answers the lookup for the
contract’s type (Bus::capability), and offers every contract it
requires.
pub fn offers(bus: &dyn Bus, contract: &Contract) -> boolWhether bus offers contract: it answers the lookup for the
contract’s type (Bus::capability), and offers every contract it
requires.