[][src]Trait meio::prelude::Actor

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

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

Recommended to implement reactive activities.

Associated Types

type GroupBy: Clone + Send + Eq + Hash[src]

Specifies how to group child actors.

Loading content...

Provided methods

pub fn name(&self) -> String[src]

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

Loading content...

Implementors

impl Actor for System[src]

type GroupBy = ()

Loading content...