Module prelude

Source
Expand description

A collection of useful traits and macros that should always be imported.

Re-exportsยง

pub use crate::handler::IntoHandlerFuture;
pub use crate::handler::IntoResponse;
pub use crate::handler::MapHandlerError;
pub use crate::handler::MapHandlerErrorFuture;
pub use crate::router::builder::DefineSingleRoute;
pub use crate::router::builder::DrawRoutes;
pub use crate::state::FromState;