MethodCallable

Trait MethodCallable 

Source
pub trait MethodCallable: Method {
    type ArgumentsType: DeserializeOwned;

    // Required method
    fn secure_call(
        &mut self,
        name: String,
        arguments: Self::ArgumentsType,
    ) -> MethodResult;
}
Expand description

Implements the calling method and an argument type for the inner arguments

Required Associated Types§

Required Methods§

Source

fn secure_call( &mut self, name: String, arguments: Self::ArgumentsType, ) -> MethodResult

Implementors§