[−][src]Crate grpcio
grpcio is a Rust implementation of gRPC, which is a high performance, open source universal RPC framework that puts mobile and HTTP/2 first. grpcio is built on gRPC Core and futures-rs.
Optional features
secure(enabled by default) - Enables support for TLS encryption and some authentication mechanisms.
Structs
| CallOption | Options for calls made by client. |
| Channel | A gRPC channel. |
| ChannelBuilder | [ |
| ChannelCredentials | Client-side SSL credentials. |
| ChannelCredentialsBuilder | [ |
| Client | A generic client for making RPC calls. |
| ClientCStreamReceiver | A receiver for client streaming call. |
| ClientDuplexReceiver | A response receiver for duplex call. |
| ClientSStreamReceiver | A receiver for server streaming call. |
| ClientStreamingSink | A sink for client streaming call. |
| ClientStreamingSinkResult | |
| ClientUnaryReceiver | A receiver for unary request. |
| Deadline | |
| DuplexSink | A sink for duplex streaming call. |
| DuplexSinkFailure | |
| EnvBuilder | [ |
| Environment | An object that used to control concurrency and start gRPC event loop. |
| Marshaller | Defines how to serialize and deserialize between the specialized type and byte slice. |
| Metadata | A collection of metadata entries that can be exchanged during a call. |
| MetadataBuilder | Builder for immutable Metadata. |
| MetadataIter | Immutable metadata iterator |
| Method | A description of a remote method. |
| RequestStream | A stream for client a streaming call and a duplex streaming call. |
| RpcContext | A context for rpc handling. |
| RpcStatus | RPC result returned from the server. |
| Server | A gRPC server. |
| ServerBuilder | [ |
| ServerCredentials | Server-side SSL credentials. |
| ServerCredentialsBuilder | [ |
| ServerStreamingSink | A sink for server streaming call. |
| ServerStreamingSinkFailure | |
| Service | A gRPC service. |
| ServiceBuilder | [ |
| ShutdownFuture | A |
| StreamingCallSink | A sink for client streaming call and duplex streaming call.
To close the sink properly, you should call |
| UnarySink | A sink for unary call. |
| UnarySinkResult | |
| WriteFlags | Flags for write operations. |
Enums
| CompressionAlgorithms | Various compression algorithms supported by gRPC. |
| CompressionLevel | Compression levels supported by gRPC. |
| Error | Errors generated from this library. |
| LbPolicy | |
| MethodType | Method types supported by gRPC. |
| OptTarget | The optimization target for a [ |
| RpcStatusCode | Result of a remote procedure call. |
Functions
| pb_de | |
| pb_ser | |
| redirect_log | Redirect grpc log to rust's log implementation. |
Type Definitions
| ClientCStreamSender | A sink for client streaming call. |
| ClientDuplexSender | A sink for duplex streaming call. |
| Result | Type alias to use this library's [ |