Modules
Application configuration and configuration parameter retrieval.
Types and traits for handling incoming body data.
Types representing various errors that can occur in a Rocket application.
Fairings: callbacks at attach, launch, request, and response time.
Types and traits for request and error handlers and their return values.
Types that map to concepts in HTTP.
Structures for local dispatching of requests, primarily for testing.
Success, failure, and forward handling.
Types and traits for request parsing and handling.
Types and traits to build and send responses.
Macros
Type safe generation of route URIs.
Structs
An error catching route.
Structure for Rocket application configuration.
Type representing the data in the body of an incoming request.
The type of an incoming web request.
The main
Rocket
type: used to mount routes and catchers and launch the
application.A route: a method, its handler, path, rank, and format/media type.
Request guard to retrieve managed state.
Information generated by the
catch
attribute during codegen.Information generated by the
route
attribute during codegen.Enums
An enum representing success (
Success
), failure (Failure
), or
forwarding (Forward
).Traits
Trait implemented by types that can handle requests.
Functions
Alias to
Rocket::custom()
. Creates a new instance of Rocket
with a
custom configuration.Alias to
Rocket::ignite()
Creates a new instance of Rocket
.Type Definitions
The type of an error handler.
Attribute Macros
Derive Macros
Derive for the
FromFormValue
trait.Derive for the
UriDisplay<Path>
trait.Derive for the
UriDisplay<Query>
trait.