Skip to main content

BusTimings

Trait BusTimings 

pub trait BusTimings {
    // Required method
    fn timings(&self) -> Option<&dyn Timings>;
}
Expand description

Reaches the Timings capability of any bus: bus.timings().

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

Required Methods§

fn timings(&self) -> Option<&dyn Timings>

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

Implementors§

§

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