[go: up one dir, main page]

Message

Trait Message 

Source
pub trait Message:
    Any
    + Send
    + Sync
    + Debug { }
Expand description

A trait that any message sent needs to implement (it is already automatically implemented but forces message to implement the following traits: Any, Send, Sync and Debug).

Implementors§

Source§

impl<T> Message for T
where T: Any + Send + Sync + Debug,