Trait evident::event::Msg

source ·
pub trait Msg: Debug + Clone + Send + Sync + 'static { }
Expand description

Trait that must be implemented for a custom event message.
This implementation must then be used for implementations of the traits EventEntry and IntermediaryEvent.
All implementations are needed to create an evident publisher using the create_static_publisher!() macro.

The optional Filter trait must also use the same implementation of this Msg trait.

Note: This trait is already implemented for String.

[req:event.msg]

Implementations on Foreign Types§

source§

impl Msg for String

Implementors§