Module thrift

Source

Modules§

protocol
Types used to send and receive primitives between a Thrift client and server.
varint

Structs§

ApplicationError
Information about errors in auto-generated code or in user-implemented service handlers.
ProtocolError
Information about errors that occur in the runtime library.
TransportError
Information about I/O errors.

Enums§

ApplicationErrorKind
Auto-generated or user-implemented code error categories.
Error
Error type returned by all runtime library functions.
ProtocolErrorKind
Runtime library error categories.
TransportErrorKind
I/O error categories.

Functions§

new_application_error
Create a new Error instance of type Application that wraps an ApplicationError.
new_protocol_error
Create a new Error instance of type Protocol that wraps a ProtocolError.
new_transport_error
Create a new Error instance of type Transport that wraps a TransportError.

Type Aliases§

Result
Result type returned by all runtime library functions.