Crate fundamentum_edge_proto

source ·
Expand description

Rust bindings to Fundamentum edge daemon’s gRPC IDL files. A library that provides a Rust representation of the basic types, interfaces and other components required to define and interact with the gRPC interface defined by fundamentum-edge-proto.

Current direct users:

§Feature flags

  • server: build and expose gRPC server building blocks.

  • client: build and expose gRPC client building blocks.

  • reflection: build and expose gRPC reflection building blocks.

    Use this alongside with the server flag if your gRPC server is to provide a reflection service for runtime service discovery.

    An encoded FileDescriptorSet will be made available as FILE_DESCRIPTOR_SET.

    See tonic/examples/src/reflection/server.rs for a good example of adding such reflection service to your gRPC server.

Note that all of the above feature flags are active by default.

Modules§

  • The rust bindings generated from the protobuf files under ./proto/.

Constants§

  • Encoded FileDescriptorSet you will need if your gRPC server is to provide a reflection service for runtime service discovery.