Handler trait defines the signature of a handler function that can be used to implement a service handler