pingora_core

Module prelude

Source

Re-exports§

Structs§

  • The struct that represents an error

Enums§

  • The source of the error
  • Predefined type of errors
  • 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.
  • Whether the request can be retried after encountering this error

Traits§

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

Type Aliases§