Skip to main content

ActorMessage

Trait ActorMessage 

Source
pub trait ActorMessage:
    Send
    + Sync
    + 'static { }
Expand description

Generic trait for messages that can be sent between actors

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl ActorMessage for Task

Available on non-WebAssembly only.
Source§

impl<M: Send + Sync + 'static> ActorMessage for SharedMessage<M>