Skip to main content

Crate a3s_boot

Crate a3s_boot 

Source
Expand description

Progressive Rust web framework primitives for A3S.

a3s-boot is inspired by Nest.js, but keeps the Rust core explicit: modules organize the graph, providers live in a typed container, controllers group routes, request pipeline hooks are framework-neutral, and HTTP serving is delegated to replaceable adapters.

Structs§

AxumAdapter
Axum-backed HTTP adapter.
BootApplication
Built application with a resolved module graph and framework-neutral routes.
BootApplicationBuilder
Builder for a BootApplication.
BootRequest
Framework-neutral HTTP request passed to Boot route handlers.
BootResponse
Framework-neutral HTTP response returned by Boot route handlers.
ControllerDefinition
Group routes under a common HTTP prefix, similar to a Nest controller.
ExecutionContext
Request context visible to guards, interceptors, pipes, and filters.
ModuleRef
Runtime provider container. This is Boot’s Rust equivalent of Nest’s ModuleRef.
ProviderDefinition
A provider registration, similar to a Nest provider entry.
ProviderToken
Stable lookup key for an injectable provider.
RouteDefinition
A framework-neutral route definition.
RouteMatch
Resolved route and decoded path parameters for a method/path lookup.
SseEvent

Enums§

BootError
Errors returned while building or serving a Boot application.
HttpMethod
HTTP method understood by Boot route definitions.

Traits§

ExceptionFilter
Maps route/pipeline errors to HTTP responses.
Guard
Decides whether a route handler can run.
HttpAdapter
Adapter that turns a Boot application into a concrete HTTP server/router.
Interceptor
Runs around the handler for cross-cutting behavior.
Module
A module contributes imports, providers, controllers, and routes.
Pipe
Transforms a request before guards and handlers run.
RouteHandler
Type-erased route handler used by adapters.

Type Aliases§

BoxFuture
Boxed future used by adapter traits.
Result
Result type used by A3S Boot.
SseStream

Attribute Macros§

controller
delete
delete_json
get
get_json
head
injectable
options
patch
patch_json
post
post_json
put
put_json
sse