pub trait BusHelpers:
Clone
+ Send
+ Sync
+ 'static {
// Required methods
fn bus_sub(prefix_latest: bool) -> Receiver<BusEvent<Self>>;
fn bus_send(self);
fn bus_latest() -> Option<BusEvent<Self>>;
}Required Methods§
fn bus_sub(prefix_latest: bool) -> Receiver<BusEvent<Self>>
fn bus_send(self)
fn bus_latest() -> Option<BusEvent<Self>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.