pub trait BusCrossing { // Required method fn relay(&self) -> Option<&dyn Relay>; }
Reaches the Relay capability of any bus: bus.relay().
Relay
bus.relay()
Implemented for every Bus, sized or not (dyn Bus, Arc<dyn Bus>, a concrete bus): what the bus answers for dyn Relay through the typed lookup Bus::capability.
Bus
dyn Bus
Arc<dyn Bus>
dyn Relay
Bus::capability
The Relay capability of this bus; None when the bus does not offer it.
None