Crate protokit_grpc

Source

Re-exports§

pub use futures;
pub use tonic;

Modules§

http
A general purpose library of common HTTP types
tokio_stream
Stream utilities for Tokio.

Structs§

Arc
A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically Reference Counted’.
Bytes
A cheaply cloneable and sliceable chunk of contiguous memory.
Context
The context of an asynchronous task.
EnabledCompressionEncodings
Struct used to configure which encodings are enabled on a server or channel.
GrpcMethod
A gRPC Method info extension.
InterceptedService
A service wrapped in an interceptor middleware.
Pin
A pointer which pins its pointee in place.
Status
A gRPC status describing the result of an RPC call.
TonicCodec
A Codec that implements application/grpc+proto via the protokit library..
TonicDecoder
A Decoder that knows how to decode U.
TonicEncoder
A Encoder that knows how to encode T.

Enums§

Code
gRPC status codes used by Status.
CompressionEncoding
The compression encodings Tonic supports.
Poll
Indicates whether a value is available or if the current task has been scheduled to receive a wakeup instead.

Traits§

Body
Trait representing a streaming body of a Request or Response.
Future
A future represents an asynchronous computation, commonly obtained by use of async.
Service
An asynchronous function from a Request to a Response.
Stream
A stream of values produced asynchronously.

Functions§

empty_body
Create an empty BoxBody

Type Aliases§

BoxFuture
BoxStream
LocalBoxFuture
BoxFuture, but without the Send requirement.
StdError

Attribute Macros§

async_trait