[][src]Trait lwactors::Action

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

Associated Types

Loading content...

Required methods

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

Loading content...

Implementors

Loading content...