Trait meio::actor::Actor[][src]

pub trait Actor: Sized + Send + 'static {
    type GroupBy: Ord + Clone + Send + Eq + Hash;
    fn log_target(&self) -> &str;
}
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.

Required methods

The log target for the Actor.

Implementors