SYMBOL INDEX (109 symbols across 24 files) FILE: src/bin/application.rs function main (line 49) | async fn main() -> std::io::Result<()> { function index (line 83) | async fn index() -> impl Responder { function app_info (line 86) | async fn app_info() -> String { type AppState (line 91) | struct AppState { function get_state (line 96) | async fn get_state(data: web::Data) -> String { type AppStateWithCounter (line 102) | struct AppStateWithCounter { function mutable_counter (line 106) | async fn mutable_counter(data: web::Data) -> String { function config (line 113) | fn config(cfg: &mut web::ServiceConfig) { function second_config (line 121) | fn second_config(cfg: &mut web::ServiceConfig) { FILE: src/bin/errors_custom_error_response.rs function main (line 9) | async fn main() -> std::io::Result<()> { type MyError (line 28) | enum MyError { method error_response (line 39) | fn error_response(&self) -> HttpResponse { method status_code (line 46) | fn status_code(&self) -> StatusCode { function index (line 56) | async fn index() -> Result<&'static str, MyError> { type UserError (line 63) | enum UserError { method error_response (line 69) | fn error_response(&self) -> HttpResponse { method status_code (line 75) | fn status_code(&self) -> StatusCode { function user_error (line 83) | async fn user_error() -> Result<&'static str, UserError> { FILE: src/bin/extractors_application_state_arc.rs function main (line 7) | async fn main() -> std::io::Result<()> { type AppState (line 24) | struct AppState { function show_count (line 30) | async fn show_count(data: web::Data) -> impl Responder { function add_one (line 35) | async fn add_one(data: web::Data) -> impl Responder { FILE: src/bin/extractors_application_state_cell.rs function main (line 6) | async fn main() -> std::io::Result<()> { type AppState (line 23) | struct AppState { function show_count (line 28) | async fn show_count(data: web::Data) -> impl Responder { function add_one (line 32) | async fn add_one(data: web::Data) -> impl Responder { FILE: src/bin/extractors_json.rs function main (line 6) | async fn main() -> std::io::Result<()> { type Info (line 28) | struct Info { function get_info (line 32) | async fn get_info(info: Json) -> Result { FILE: src/bin/extractors_type_safe_path.rs function main (line 23) | async fn main() -> std::io::Result<()> { function get_user (line 40) | async fn get_user(web::Path((user_id, friend)): web::Path<(u32, String)>... function get_obj (line 45) | async fn get_obj(info: web::Path) -> String { function query (line 63) | async fn query(req: HttpRequest) -> String { type User (line 70) | struct User { method new (line 77) | fn new(user_id: u32, friend: String) -> Self { FILE: src/bin/handlers_different_return_types.rs function main (line 11) | async fn main() -> std::io::Result<()> { type RegisterResult (line 18) | type RegisterResult = Either>; function index (line 21) | async fn index() -> RegisterResult { FILE: src/bin/handlers_request_handlers.rs function main (line 35) | async fn main() -> std::io::Result<()> { function index (line 46) | async fn index(_req: HttpRequest) -> &'static str { function index_two (line 51) | async fn index_two(_req: HttpRequest) -> String { FILE: src/bin/handlers_response_with_custom_type.rs function main (line 17) | async fn main() -> std::io::Result<()> { type MyObj (line 25) | struct MyObj { constant CONTENT_TYPE (line 30) | const CONTENT_TYPE: &str = "application/json"; constant SERVER_ADDRESS (line 31) | const SERVER_ADDRESS: &str = "127.0.0.1:8080"; type Error (line 35) | type Error = Error; type Future (line 36) | type Future = Ready>; method respond_to (line 38) | fn respond_to(self, _req: &HttpRequest) -> Self::Future { function index (line 48) | async fn index() -> MyObj { FILE: src/bin/handlers_streaming_response_body.rs function main (line 9) | async fn main() -> std::io::Result<()> { function stream (line 17) | async fn stream() -> HttpResponse { FILE: src/bin/hello_world.rs function hello (line 10) | async fn hello() -> impl Responder { function test (line 15) | async fn test() -> String { function other (line 20) | async fn other() -> impl Responder { function echo (line 26) | async fn echo(req_body: String) -> impl Responder { function manual_hello (line 31) | async fn manual_hello() -> impl Responder { function main (line 36) | async fn main() -> std::io::Result<()> { FILE: src/bin/middleware.rs function main (line 15) | async fn main() -> std::io::Result<()> { type SayHi (line 37) | pub struct SayHi; type Request (line 48) | type Request = ServiceRequest; type Response (line 49) | type Response = ServiceResponse; type Error (line 50) | type Error = Error; type Transform (line 51) | type Transform = SayHiMiddleware; type InitError (line 52) | type InitError = (); type Future (line 53) | type Future = Ready>; method new_transform (line 55) | fn new_transform(&self, service: S) -> Self::Future { type SayHiMiddleware (line 60) | pub struct SayHiMiddleware { type Request (line 70) | type Request = ServiceRequest; type Response (line 71) | type Response = ServiceResponse; type Error (line 72) | type Error = Error; type Future (line 73) | type Future = Pin) -> Poll Self::Future { FILE: src/bin/middleware_error_handler.rs function render_500 (line 5) | fn render_500(mut res: dev::ServiceResponse) -> Result std::io::Result<()> { FILE: src/bin/middleware_logging.rs function main (line 5) | async fn main() -> std::io::Result<()> { FILE: src/bin/middleware_session.rs function main (line 5) | async fn main() -> std::io::Result<()> { function index (line 20) | async fn index(session: Session) -> Result { FILE: src/bin/requests.rs function main (line 7) | async fn main() -> std::io::Result<()> { type MyObj (line 15) | struct MyObj { constant MAX_SIZ (line 20) | const MAX_SIZ: usize = 262144; function index_manual (line 24) | async fn index_manual(mut payload: web::Payload) -> Result HttpResponse { function main (line 15) | async fn main() -> std::io::Result<()> { function index_br (line 31) | async fn index_br() -> HttpResponse { type MyJsonReq (line 38) | struct MyJsonReq { type MyJsonResponse (line 43) | struct MyJsonResponse { function index_json (line 48) | async fn index_json(info: web::Json) -> Result { FILE: src/bin/server.rs function main (line 93) | async fn main() { FILE: src/bin/server_graceful_shutdown.rs function main (line 15) | async fn main() -> std::io::Result<()> { function index (line 24) | async fn index() -> String { FILE: src/bin/server_keepalive.rs function main (line 25) | async fn main() -> std::io::Result<()> { FILE: src/bin/static_file.rs function main (line 6) | async fn main() -> std::io::Result<()> { function get_file_by_name (line 22) | async fn get_file_by_name(req: HttpRequest) -> Result { FILE: src/bin/url_dispatch_scoping.rs function main (line 7) | async fn main() -> std::io::Result<()> { function show_users (line 37) | async fn show_users() -> HttpResponse { function user_detail (line 42) | async fn user_detail(path: web::Path<(u32,)>) -> HttpResponse { function get_matches (line 47) | async fn get_matches(req: HttpRequest) -> String { type Info (line 60) | struct Info { function get_username (line 65) | async fn get_username(data: web::Path) -> String { function external_resource (line 70) | async fn external_resource(req: HttpRequest) -> HttpResponse { type ContentTypeHeader (line 81) | struct ContentTypeHeader; method check (line 84) | fn check(&self, request: &RequestHead) -> bool { FILE: src/bin/websocket_echo.rs type MyWs (line 7) | struct MyWs; method handle (line 14) | fn handle(&mut self, msg: Result, ctx: &mut Se... type Context (line 10) | type Context = ws::WebsocketContext; function index (line 24) | async fn index(req: HttpRequest, stream: web::Payload) -> Result std::io::Result<()> { FILE: src/main.rs function main (line 1) | fn main() {