pub trait Factory<T, R, O, E>:
Send
+ Sync
+ 'static{
// Required method
fn call(&self, param: T) -> R;
}
Expand description
Async handler converter factory
Required Methods§
fn call(&self, param: T) -> R
fn call(&self, param: T) -> R
Call the handler function with the given parameter.