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§

Blueprint
The blueprint for a Pavex application.
Callable
A “callable” registered against a Blueprint—either a free function or a method, used as a request handler, error handler or constructor.
ConfigType
A type registered against a Blueprint via Blueprint::config to become part of the overall configuration for the application.
Constructor
A constructor registered against a Blueprint via Blueprint::constructor.
Domain
A domain routing constraint.
ErrorObserver
An error observer registered against a Blueprint via Blueprint::error_observer to intercept unhandled errors.
Fallback
A request handler registered against a Blueprint via Blueprint::fallback to process requests that don’t match any of the registered routes.
Location
A set of coordinates to identify a precise spot in a source file.
NestedBlueprint
A Blueprint that has been nested inside another Blueprint via Blueprint::nest or Blueprint::nest_at.
PathPrefix
A path modifier for a nested Blueprint.
PostProcessingMiddleware
A middleware registered against a Blueprint via Blueprint::post_process.
PreProcessingMiddleware
A middleware registered against a Blueprint via Blueprint::pre_process.
PrebuiltType
A type registered against a Blueprint via Blueprint::prebuilt to be added as an input parameter to ApplicationState::new.
RawIdentifiers
All the information required to identify a component registered against a Blueprint.
RegisteredAt
Information on the callsite where the component was registered.
Route
A route registered against a Blueprint via Blueprint::route.
Type
A type (enum or struct) registered against a Blueprint.
WrappingMiddleware
A middleware registered against a Blueprint via Blueprint::wrap.

Enums§

CloningStrategy
Component
Lifecycle
Lint
Common mistakes and antipatterns that Pavex tries to catch when analysing your Blueprint.
LintSetting
MethodGuard