Skip to main content

ActorMessage

Trait ActorMessage 

Source
pub trait ActorMessage:
    Serialize
    + DeserializeOwned
    + 'static { }
Expand description

Trait bound for types that can cross the Worker boundary.

Automatically implemented for any T: Serialize + DeserializeOwned + 'static.

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.

Implementors§