Trait meio::prelude::Actor [−][src]
pub trait Actor: Sized + Send + 'static {
type GroupBy: TerminationSequence + 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
Required methods
fn log_target(&self) -> &str
fn log_target(&self) -> &str
The log target for the Actor
.