Message

Type Alias Message 

Source
pub type Message = Box<dyn Any + Send + 'static>;
Expand description

A message that can be sent between actors.

In Erlang, any term can be sent as a message. We use Box<dyn Any> to achieve similar flexibility, though with less type safety at compile time.

Aliased Typeยง

pub struct Message(/* private fields */);