Crate hrpc[][src]

Expand description

Common code used in hRPC code generation.

Modules

Body type.

Common client types and functions.

Some re-exported crates that might be useful while writing software with hrpc.

Common server types and functions.

Macros

Include generated proto server and client items.

Returns an error.

Structs

A hRPC request.

hRPC response type.

Enums

Constants

The hRPC protobuf mimetype.

Traits

Trait used for blanket impls on generated protobuf types.

Trait used for converting any type to a Response type.

Functions

Encodes a protobuf message into a new BytesMut buffer.

Encodes a protobuf message into the given BytesMut buffer.

Type Definitions

Alias for a type-erased error type.

hRPC layer type.

hRPC service type.

HTTP request used by hRPC.

HTTP response used by hRPC.