Module pingora

Module pingora 

Source

Modules§

apps
The abstraction and implementation interface for service application logic
connectors
Connecting to servers
http
HTTP header objects that preserve http header cases
listeners
The listening endpoints (TCP and TLS) and their configurations.
modules
Modules to extend the functionalities of pingora services.
prelude
A useful set of types for getting started
protocols
Abstractions and implementations for protocols including TCP, TLS and HTTP
proxy
Proxying recipes
server
Server process and configuration management
services
The service interface
tls
The OpenSSL API compatibility layer.
upstreams
The interface to connect to a remote server
utils
This module contains various types that make it easier to work with bytes and X509 certificates.

Structs§

Error
The struct that represents an error

Enums§

ErrorSource
The source of the error
ErrorType
Predefined type of errors
ImmutStr
A data struct that holds either immutable string or reference to static str. Compared to String or Box<str>, it avoids memory allocation on static str.
RetryType
Whether the request can be retried after encountering this error

Traits§

Context
Helper trait to add more context to a given error
ErrorTrait
Error is a trait representing the basic expectations for error values, i.e., values of type E in Result<T, E>.
OkOrErr
Helper trait to convert an Option to an Error with context.
OrErr
Helper trait to chain errors with context

Type Aliases§

BError
The boxed Error, the desired way to pass Error
Result
Syntax sugar for std::Result<T, BError>