Crate hrpc[−][src]
Expand description
Common code used in hRPC code generation.
Modules
Body utitilies and types.
Common client types and functions.
Common utilities.
Decoding utilities.
Encoding utilities.
Some re-exported crates that might be useful while writing software with hrpc.
The hRPC generated protocol.
The Request type used by hRPC.
The Response type used by hRPC.
Common server types and functions.
Macros
Bails with an error.
Takes a Result, returns the error if it’s Err, otherwise returns the
Ok value.
Combines a list of services that implement MakeRoutes.
Include generated proto server and client items.
Macro to workaround async fns not being allowed in traits. You do not
need to use this directly, instead you should use the handler macro
attribute provided in the server prelude.
Structs
Constants
The hRPC protobuf mimetype.
The hRPC spec version this version of hrpc-rs implements.
Type Definitions
Alias for a type-erased error type.