Trait brigadier_rs::TaskLogicNoArgs
source · 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.