pub trait BasicMediatorBuilderInterface<M, Ev> {
// Required method
fn add_listener<F>(self, f: F) -> Self
where F: Listener<Ev>,
Ev: Debug;
}Expand description
Basic builder fuctionality:
Adding a Listener to the builder.
Required Methods§
fn add_listener<F>(self, f: F) -> 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.
Implementors§
impl<M, Dep, Ev> BasicMediatorBuilderInterface<M, Ev> for CxAwareAsyncBuilder<Dep, Ev>
Available on crate feature
async only.impl<M, Ev> BasicMediatorBuilderInterface<M, Ev> for BasicAsyncBuilder<Ev>where
Ev: Debug,
Available on crate feature
async only.