pub trait Accepts<M: RemoteMessage>: Named { }Expand description
Marker trait: Remote<T> can send message M when T: Accepts<M>.
- For actor/behavior types: generated by
#[export]/behavior!(one impl per handled message). - For message types: blanket
impl<M: RemoteMessage> Accepts<M> for M {}covers identity.
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.