Crate volo_grpc

Crate volo_grpc 

Source
Expand description
Volo

Crates.io Documentation Website License Build Status

volo-grpc implements a Protobuf-based RPC framework.

Users rarely need to use volo-grpc directly. Instead, they should use the Client and Server in the generated code.

For extension developers, they may need to use some of the components in volo-grpc.

For detailed guides, please refer to the guides.

Re-exports§

pub use client::Client;
pub use codec::decode::RecvStream;
pub use message::RecvEntryMessage;
pub use message::SendEntryMessage;
pub use request::IntoRequest;
pub use request::IntoStreamingRequest;
pub use request::Request;
pub use response::Response;
pub use status::Code;
pub use status::Status;

Modules§

body
client
gRPC client for Volo.
codec
Generic encoding and decoding.
context
layer
message
metadata
Contains data structures and utilities for handling gRPC custom metadata and may be modified by us.
request
These codes are copied from tonic/src/request.rs and may be modified by us.
response
These codes are copied from tonic/src/response.rs and may be modified by us.
server
gRPC server for Volo.
status
These codes are copied from tonic/src/status.rs and may be modified by us.
tracing
transport
Used to make underlying connection to other endpoints.

Type Aliases§

BoxError
BoxStream
An owned dynamically typed Stream for use in cases where you can’t statically type your result or need to add some indirection.