pub trait Service {
    type Request: Message;
    type Response: Message;
    fn request_type_name() -> String;
fn response_type_name() -> String; }
Expand description

Service trait pairs the Request and Response types together. Additonally, it ensures that Response and Request are Messages (serializable) and we have a menas to name the types.

Associated Types

Required methods

Implementors