Trait rabble::Process [] [src]

pub trait Process<T>: Send {
    fn handle(
        &mut self,
        msg: Msg<T>,
        from: Pid,
        correlation_id: Option<CorrelationId>,
        output: &mut Vec<Envelope<T>>
    ); fn init(&mut self, _executor_pid: Pid) -> Vec<Envelope<T>> { ... } }

Required Methods

Handle messages from other actors

Provided Methods

Initialize process state if necessary

Implementors