Trait CustomMsg

Source
pub trait CustomMsg:
    Serialize
    + Clone
    + Debug
    + PartialEq
    + JsonSchema { }
Expand description

Like CustomQuery for better type clarity. Also makes it shorter to use as a trait bound.

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.

Implementors§