Crate swim_core

Crate swim_core 

Source
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§

app
error
http
log
macros
middleware
model
project
route
settings
sugar
view

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 Swim instance.

Structs§

Swim
The Swim struct is the main entry point for a Swim application.

Type Aliases§

Result
Convinience Result type for the swim crate.