Trait ruva::TCommandService

source ·
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§

source

fn execute(self) -> impl Future<Output = Result<R, E>> + Send

Object Safety§

This trait is not object safe.

Implementors§