BasicMediatorBuilderInterface

Trait BasicMediatorBuilderInterface 

Source
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§

Source

fn add_listener<F>(self, f: F) -> Self
where F: Listener<Ev>, Ev: Debug,

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§

Source§

impl<M, Dep, Ev> BasicMediatorBuilderInterface<M, Ev> for CxAwareAsyncBuilder<Dep, Ev>
where Dep: Debug, Ev: Debug,

Available on crate feature async only.
Source§

impl<M, Ev> BasicMediatorBuilderInterface<M, Ev> for BasicAsyncBuilder<Ev>
where Ev: Debug,

Available on crate feature async only.
Source§

impl<M, Ev> BasicMediatorBuilderInterface<M, Ev> for BasicBuilder<Ev>
where Ev: Debug,