pub trait Handler<EventError> { // Required method fn run( &mut self, event: Vec<u8>, ctx: Context, ) -> Result<Vec<u8>, EventError>; }
Functions acting as a handler must conform to this type.
Run the handler.