pub trait TaskLogicNoArgs<S> {
    type Error: Into<Error>;
    type Output;

    fn run(&self, source: S) -> Result<Self::Output, Self::Error>;
}
Expand description

Command logic definition trait (without arguments).

Executes command logic.

Fn-closures implement this trait.

Required Associated Types

Error type this logic may return

Return value upon success

Required Methods

Implementors