Crate protokit_grpc
source ·Re-exports
Modules
- Core traits and types for asynchronous operations in Rust.
- A general purpose library of common HTTP types
Structs
- A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically Reference Counted’.
- A cheaply cloneable and sliceable chunk of contiguous memory.
- The context of an asynchronous task.
- Struct used to configure which encodings are enabled on a server or channel.
- A gRPC Method info extension.
- A service wrapped in an interceptor middleware.
- A pinned pointer.
- Future for the
ready
function. - A gRPC status describing the result of an RPC call.
- A
Codec
that implementsapplication/grpc+proto
via the protokit library.. - A
Decoder
that knows how to decodeU
. - A
Encoder
that knows how to encodeT
.
Enums
- gRPC status codes used by
Status
. - The compression encodings Tonic supports.
- Indicates whether a value is available or if the current task has been scheduled to receive a wakeup instead.
Traits
- Trait representing a streaming body of a Request or Response.
- A future represents an asynchronous computation obtained by use of
async
. - An asynchronous function from a
Request
to aResponse
. - A stream of values produced asynchronously.
Functions
- Create an empty
BoxBody
- Create a future that is immediately ready with a success value.
- Creates a new future wrapping around a function returning
Poll
.
Type Aliases
BoxFuture
, but without theSend
requirement.