Trait meio::Actor[][src]

pub trait Actor: Sized + Send + 'static {
    type GroupBy: Clone + Send + Eq + Hash;
    fn name(&self) -> String { ... }
}
Expand description

The main trait. Your structs have to implement it to be compatible with ActorRuntime and Address system.

Recommended to implement reactive activities.

Associated Types

Specifies how to group child actors.

Provided methods

Returns unique name of the Actor. Uses Uuid by default.

Implementors