[][src]Trait lwactors::Action

pub trait Action {
    type State;
    type Result;
    type Error;
    fn act(self, s: &mut Self::State) -> Result<Self::Result, Self::Error>;
}

Associated Types

type State

type Result

type Error

Loading content...

Required methods

fn act(self, s: &mut Self::State) -> Result<Self::Result, Self::Error>

Loading content...

Implementors

Loading content...