pub trait TCommandService<R, E>: Send + Sync {
// Required method
fn execute(self) -> impl Future<Output = Result<R, E>> + Send;
}Expand description
Interface for messagebus to work on
Required Methods§
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.