[][src]Trait new_home_application::method::method_callable::MethodCallable

pub trait MethodCallable {
    fn call(&self, arguments: MethodArguments) -> MethodResult;
}

The handler trait for methods When implemented it can be used in for the MethodManager as the handler for a registered method

Required methods

fn call(&self, arguments: MethodArguments) -> MethodResult

Executes the internal logic of the method

Loading content...

Implementors

impl MethodCallable for HelpCommand[src]

impl MethodCallable for InfoCommand[src]

impl<'_> MethodCallable for MethodCallableClosure<'_>[src]

Loading content...