Skip to main content

Crate rustrails_controller

Crate rustrails_controller 

Source

Re-exports§

pub use action_result::ActionResult;
pub use api::ApiController;
pub use base::ActionContext;
pub use base::AppState;
pub use caching::FragmentCache;
pub use content_negotiation::RespondTo;
pub use controller_error::ControllerError;
pub use cookies::CookieJar;
pub use cookies::CookieValue;
pub use cookies::SameSite;
pub use csrf::CsrfProtection;
pub use etag::EtagError;
pub use etag::EtagStrength;
pub use etag::fresh_when;
pub use etag::generate_etag;
pub use etag::generate_typed_etag;
pub use etag::stale;
pub use filters::ActionFilter;
pub use filters::FilterChain;
pub use filters::FilterKind;
pub use flash::Flash;
pub use handler::handle_action;
pub use head::head;
pub use head::head_no_content;
pub use head::head_ok;
pub use http_authentication::authenticate_with_http_basic;
pub use http_authentication::authenticate_with_http_token;
pub use http_authentication::request_http_basic_authentication;
pub use http_authentication::request_http_token_authentication;
pub use instrumentation::process_action;
pub use live::LiveError;
pub use live::SseResponse;
pub use live::SseStream;
pub use metal::MetalController;
pub use params::Params;
pub use params::ParamsError;
pub use rate_limiting::RateLimitError;
pub use rate_limiting::RateLimiter;
pub use redirecting::process_redirect;
pub use redirecting::redirect_to;
pub use redirecting::redirect_to_with_status;
pub use rendering::process_render;
pub use rendering::render_html;
pub use rendering::render_json;
pub use rendering::render_json_with_status;
pub use rendering::render_nothing;
pub use rendering::render_status;
pub use rendering::render_text;
pub use request::Request;
pub use request::RequestError;
pub use rescue::RescueRegistry;
pub use response::Response;
pub use response::ResponseError;
pub use send::send_data;
pub use send::send_file;
pub use session::Session;
pub use streaming::stream_response;
pub use testing::test_get;
pub use testing::test_get_sync;
pub use testing::test_post;
pub use testing::test_post_sync;
pub use testing::test_request;
pub use testing::test_request_sync;

Modules§

action_result
Unified return type for controller actions.
api
base
caching
content_negotiation
controller_error
Unified error type for controller actions.
cookies
csrf
etag
filters
flash
handler
head
http_authentication
instrumentation
live
metal
params
rate_limiting
redirecting
rendering
request
rescue
response
send
File and byte sending helpers for controller actions.
session
streaming
testing