Crate poem_grpc

Source
Expand description

GRPC server for Poem

Re-exports§

pub use metadata::Metadata;

Modules§

codec
Generic encoding and decoding.
example_generated
This module shows an example of code generated by the macro. IT MUST NOT BE USED OUTSIDE THIS CRATE.
metadata
Metadata related types

Macros§

include_file_descriptor_set
Include an encoded prost_types::FileDescriptorSet as a &'static [u8].
include_proto
Include generated server and client types.

Structs§

ClientConfig
A configuration for GRPC client
ClientConfigBuilder
A ClientConfig builder
HealthReporter
A handle providing methods to update the health status of GRPC services
Reflection
A builder for creating reflection service
Request
A GRPC request
Response
A GRPC response
RouteGrpc
A router for GRPC services
Status
A GRPC status describing the result of an RPC call.
Streaming
Message stream

Enums§

ClientBuilderError
Code
GRPC status code
CompressionEncoding
The compression encodings.
ServingStatus
Service health

Traits§

Service
Represent a GRPC service

Functions§

health_service
Create health service and HealthReporter