Crate protokit_grpc
Source pub use futures;
pub use tonic;
- http
- A general purpose library of common HTTP types
- tokio_stream
- Stream utilities for Tokio.
- 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
.
- 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.
- 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.
- empty_body
- Create an empty
BoxBody
- BoxFuture
- BoxStream
- LocalBoxFuture
BoxFuture
, but without the Send
requirement.- StdError
- async_trait