Crate hrpc[][src]

Expand description

Common code used in hRPC code generation.

Modules

client

Common client types and functions.

server

Common server types and functions.

Macros

include_proto

Include generated proto server and client items.

return_closed

Return if the socket is closed normally, otherwise return the result.

return_print

Return if the socket is closed normally, otherwise print the error if there is one and return.

serve_multiple

Serves multiple services’ filters on the same address.

serve_multiple_tls

Serves multiple services’ filters on the same address. Supports TLS.

Structs

Request

A hRPC request.

Traits

IntoRequest

Trait used for blanket impls on generated protobuf types.

Attribute Macros

async_trait