pub trait Command: Send {
type Output: Send;
}Expand description
A named operation that may change application state.
Commands describe application intent and own their input. Infrastructure representations such as SQL statements or broker messages stay in adapters.
Required Associated Types§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".