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
viaBlueprint::constructor
. - An error observer registered against a
Blueprint
viaBlueprint::error_observer
to intercept unhandled errors. - A request handler registered against a
Blueprint
viaBlueprint::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 anotherBlueprint
viaBlueprint::nest
orBlueprint::nest_at
. - A middleware registered against a
Blueprint
viaBlueprint::post_process
. - A middleware registered against a
Blueprint
viaBlueprint::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
viaBlueprint::route
. - A middleware registered against a
Blueprint
viaBlueprint::wrap
.
Enums§
- Common mistakes and antipatterns that Pavex tries to catch when analysing your
Blueprint
.