Skip to main content

DomainOperation

Trait DomainOperation 

Source
pub trait DomainOperation:
    DeserializeOwned
    + Send
    + Sync
    + 'static {
    const KIND: u16;
    const CURRENT_SCHEMA: u16;
}
Expand description

Strongly typed domain command registered with OperationRegistry.

Required Associated Constants§

Source

const KIND: u16

Stable operation kind on the wire.

Source

const CURRENT_SCHEMA: u16

Current application payload schema understood by its handler.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§