Crate madsim_tonic

source ·

Modules§

  • HTTP specific body utilities.
  • Generic client implementation.
  • Generic encoding and decoding.
  • Contains data structures and utilities for handling gRPC custom metadata.
  • Generic server implementation.
  • Utilities for using Tower services with Tonic.
  • Batteries included server and client.

Macros§

  • Include an encoded prost_types::FileDescriptorSet as a &'static [u8]. The parameter must be the stem of the filename passed to file_descriptor_set_path for the tonic-build::Builder, excluding the .bin extension.
  • Include generated proto server and client items.

Structs§

  • A type map of protocol extensions.
  • A gRPC Method info extension.
  • A gRPC request and metadata from an RPC call.
  • A gRPC response and metadata from an RPC call.
  • A gRPC status describing the result of an RPC call.
  • Streaming requests and responses.

Enums§

Traits§

Type Aliases§

  • Result is a type that represents either success (Ok) or failure (Err). By default, the Err value is of type Status but this can be overridden if desired.

Attribute Macros§