Skip to main content

offers

Function offers 

pub fn offers(bus: &dyn Bus, contract: &Contract) -> bool
Expand description

Whether bus offers contract: it answers the lookup for the contract’s type (Bus::capability), and offers every contract it requires.