Expand description
The swim_core crate provides the core structures and traits for building a Swim application.
Re-exports§
pub use crate::app::App;pub use crate::app::AppConfig;pub use crate::error::Error;pub use crate::http::Body;pub use crate::http::Request;pub use crate::http::Response;pub use crate::http::StatusCode;pub use crate::middleware::Logger;pub use crate::middleware::Middleware;pub use crate::model::Model;pub use crate::project::Project;pub use crate::route::Route;pub use crate::settings::CoreSettings;pub use crate::settings::DatabaseSettings;pub use crate::settings::Settings;pub use crate::view::View;pub use async_trait;pub use hyper;pub use routerify;
Modules§
Macros§
- app_
details - format_
branch - launch_
info - middleware_
listing - project_
details - request_
info - response_
info - swim
- A macro to simplify the creation of a new
Swiminstance.
Structs§
- Swim
- The
Swimstruct is the main entry point for a Swim application.
Type Aliases§
- Result
- Convinience Result type for the
swimcrate.