Module tonic

Source

Modules§

extra

Structs§

ServerError 🔒
The error produced by the gRPC server and sent to the client on the wire.
TonicStatusWrapper
A wrapper of tonic::Status that provides better error message and extracts the source chain from the details field.

Constants§

CALL_KEY
The key of the metadata field that contains the call name.
ERROR_KEY 🔒
The key of the metadata field that contains the serialized error.

Traits§

ErrorIsFromTonicServerImpl
ToTonicStatus
TonicStatusWrapperExt

Functions§

to_status 🔒

Type Aliases§

ServiceName 🔒
The service name that the error is from. Used to provide better error message.