Skip to main content

BusDefer

Trait BusDefer 

pub trait BusDefer {
    // Required method
    fn defer(&self) -> Option<&dyn Defer>;
}
Expand description

Reaches the Defer capability of any bus: bus.defer().

Implemented for every Bus, sized or not (dyn Bus, Arc<dyn Bus>, a concrete bus): what the bus answers for dyn Defer through the typed lookup Bus::capability.

Required Methods§

fn defer(&self) -> Option<&dyn Defer>

The Defer capability of this bus; None when the bus does not offer it.

Implementors§

§

impl<B> BusDefer for B
where B: Bus + ?Sized,