Crate pavex_bp_schema

source ·
Expand description

The schema used by Pavex to serialize and deserialize blueprints.

There are no guarantees that this schema will remain stable across Pavex versions: it is considered (for the time being) an internal implementation detail of Pavex’s reflection system.

Structs§

  • A “callable” registered against a Blueprint—either a free function or a method, used as a request handler, error handler or constructor.
  • A constructor registered against a Blueprint via Blueprint::constructor.
  • An error observer registered against a Blueprint via Blueprint::error_observer to intercept unhandled errors.
  • A request handler registered against a Blueprint via Blueprint::fallback to process requests that don’t match any of the registered routes.
  • A set of coordinates to identify a precise spot in a source file.
  • A Blueprint that has been nested inside another Blueprint via Blueprint::nest or Blueprint::nest_at.
  • A middleware registered against a Blueprint via Blueprint::post_process.
  • A middleware registered against a Blueprint via Blueprint::pre_process.
  • All the information required to identify a callable registered against a Blueprint.
  • Information on the callsite where a callable was registered.
  • A route registered against a Blueprint via Blueprint::route.
  • A middleware registered against a Blueprint via Blueprint::wrap.

Enums§