Skip to main content

CommandPayload

Trait CommandPayload 

Source
pub trait CommandPayload: Send + 'static { }
Expand description

Marker trait for domain command types.

Commands are transient — they are never persisted. Only Send + 'static is required.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§