SYMBOL INDEX (2652 symbols across 285 files) FILE: axum-core/src/body.rs type BoxBody (line 13) | type BoxBody = http_body_util::combinators::UnsyncBoxBody; function boxed (line 15) | fn boxed(body: B) -> BoxBody function try_downcast (line 23) | pub(crate) fn try_downcast(k: K) -> Result type Body (line 39) | pub struct Body(BoxBody); method new (line 43) | pub fn new(body: B) -> Self method empty (line 52) | pub fn empty() -> Self { method from_stream (line 59) | pub fn from_stream(stream: S) -> Self method into_data_stream (line 76) | pub fn into_data_stream(self) -> BodyDataStream { method from (line 88) | fn from(_: ()) -> Self { type Data (line 114) | type Data = Bytes; type Error (line 115) | type Error = Error; method poll_frame (line 118) | fn poll_frame( method size_hint (line 126) | fn size_hint(&self) -> http_body::SizeHint { method is_end_stream (line 131) | fn is_end_stream(&self) -> bool { method default (line 82) | fn default() -> Self { type BodyDataStream (line 141) | pub struct BodyDataStream { type Data (line 171) | type Data = Bytes; type Error (line 172) | type Error = Error; method poll_frame (line 175) | fn poll_frame( method is_end_stream (line 183) | fn is_end_stream(&self) -> bool { method size_hint (line 188) | fn size_hint(&self) -> http_body::SizeHint { type Item (line 146) | type Item = Result; method poll_next (line 149) | fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll (usize, Option) { type Data (line 206) | type Data = Bytes; type Error (line 207) | type Error = Error; function poll_frame (line 209) | fn poll_frame( function test_try_downcast (line 223) | fn test_try_downcast() { FILE: axum-core/src/error.rs type Error (line 6) | pub struct Error { method new (line 12) | pub fn new(error: impl Into) -> Self { method into_inner (line 20) | pub fn into_inner(self) -> BoxError { method fmt (line 26) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method source (line 32) | fn source(&self) -> Option<&(dyn StdError + 'static)> { FILE: axum-core/src/ext_traits/mod.rs type State (line 12) | pub(crate) struct State(pub(crate) S); type Rejection (line 19) | type Rejection = Infallible; function from_request_parts (line 21) | async fn from_request_parts( type RequiresState (line 32) | pub(crate) struct RequiresState(pub(crate) String); type Rejection (line 39) | type Rejection = Infallible; method from_request_parts (line 41) | async fn from_request_parts( FILE: axum-core/src/ext_traits/request.rs type Sealed (line 6) | pub trait Sealed {} type RequestExt (line 11) | pub trait RequestExt: sealed::Sealed + Sized { method extract (line 68) | fn extract(self) -> impl Future... method extract_with_state (line 122) | fn extract_with_state( method extract_parts (line 178) | fn extract_parts(&mut self) -> impl Future( method with_limited_body (line 254) | fn with_limited_body(self) -> Request; method into_limited_body (line 259) | fn into_limited_body(self) -> Body; method extract (line 263) | fn extract(self) -> impl Future... method extract_with_state (line 271) | fn extract_with_state( method extract_parts (line 282) | fn extract_parts(&mut self) -> impl Future( method with_limited_body (line 316) | fn with_limited_body(self) -> Request { method into_limited_body (line 330) | fn into_limited_body(self) -> Body { function extract_without_state (line 345) | async fn extract_without_state() { function extract_body_without_state (line 354) | async fn extract_body_without_state() { function extract_with_state (line 363) | async fn extract_with_state() { function extract_parts_without_state (line 374) | async fn extract_parts_without_state() { function extract_parts_with_state (line 387) | async fn extract_parts_with_state() { type WorksForCustomExtractor (line 404) | struct WorksForCustomExtractor { type Rejection (line 415) | type Rejection = >::Rejection; method from_request (line 417) | async fn from_request(mut req: Request, state: &S) -> Result(&mut self) -> impl Future( method extract (line 118) | fn extract(&mut self) -> impl Future( function extract_without_state (line 149) | async fn extract_without_state() { function extract_with_state (line 158) | async fn extract_with_state() { type WorksForCustomExtractor (line 173) | struct WorksForCustomExtractor { type Rejection (line 183) | type Rejection = Infallible; method from_request_parts (line 185) | async fn from_request_parts(parts: &mut Parts, state: &S) -> Result Self { method max (line 150) | pub const fn max(limit: usize) -> Self { method apply (line 182) | pub fn apply(self, req: &mut Request) { type Service (line 188) | type Service = DefaultBodyLimitService; method layer (line 190) | fn layer(&self, inner: S) -> Self::Service { type DefaultBodyLimitKind (line 83) | pub(crate) enum DefaultBodyLimitKind { type DefaultBodyLimitService (line 205) | pub struct DefaultBodyLimitService { type Response (line 214) | type Response = S::Response; type Error (line 215) | type Error = S::Error; type Future (line 216) | type Future = S::Future; function poll_ready (line 219) | fn poll_ready(&mut self, cx: &mut Context<'_>) -> std::task::Poll) -> Self::Future { FILE: axum-core/src/extract/from_ref.rs type FromRef (line 13) | pub trait FromRef { method from_ref (line 15) | fn from_ref(input: &T) -> Self; method from_ref (line 22) | fn from_ref(input: &T) -> Self { FILE: axum-core/src/extract/mod.rs type Request (line 29) | pub type Request = http::Request; type ViaParts (line 33) | pub enum ViaParts {} type ViaRequest (line 36) | pub enum ViaRequest {} type FromRequestParts (line 53) | pub trait FromRequestParts: Sized { method from_request_parts (line 59) | fn from_request_parts( type FromRequest (line 79) | pub trait FromRequest: Sized { method from_request (line 85) | fn from_request( type Rejection (line 96) | type Rejection = >::Rejection; method from_request (line 98) | fn from_request( type Rejection (line 112) | type Rejection = Infallible; function from_request_parts (line 114) | async fn from_request_parts(parts: &mut Parts, state: &S) -> Result Result: Sized { method from_request_parts (line 18) | fn from_request_parts( type OptionalFromRequest (line 25) | pub trait OptionalFromRequest: Sized { method from_request (line 32) | fn from_request( type Rejection (line 46) | type Rejection = T::Rejection; function from_request_parts (line 49) | fn from_request_parts( type Rejection (line 63) | type Rejection = T::Rejection; function from_request (line 66) | async fn from_request(req: Request, state: &S) -> Result, Self... FILE: axum-core/src/extract/rejection.rs method from_err (line 18) | pub(crate) fn from_err(err: E) -> Self FILE: axum-core/src/extract/request_parts.rs type Rejection (line 12) | type Rejection = Infallible; method from_request (line 14) | async fn from_request(req: Request, _: &S) -> Result Result Result Result Result Result Res... type Rejection (line 104) | type Rejection = BytesRejection; method from_request (line 106) | async fn from_request(req: Request, _: &S) -> Result Result Result Result Result Result<(), Self::Re... function assert_from_request (line 86) | fn assert_from_request() function assert_from_request_parts (line 92) | fn assert_from_request_parts>() {} function unit (line 95) | fn unit() { function tuple_of_one (line 101) | fn tuple_of_one() { function tuple_of_two (line 108) | fn tuple_of_two() { function nested_tuple (line 115) | fn nested_tuple() { FILE: axum-core/src/lib.rs type BoxError (line 31) | pub type BoxError = Box; FILE: axum-core/src/macros.rs function source_gives_inner_source (line 346) | fn source_gives_inner_source() { FILE: axum-core/src/response/append_headers.rs type AppendHeaders (line 34) | pub struct AppendHeaders(pub I); method into_response (line 44) | fn into_response(self) -> Response { type Error (line 57) | type Error = TryIntoHeaderError; method into_response_parts (line 59) | fn into_response_parts(self, mut res: ResponseParts) -> Result Response; method into_response (line 119) | fn into_response(self) -> Response { method into_response (line 127) | fn into_response(self) -> Response { method into_response (line 133) | fn into_response(self) -> Response { method into_response (line 143) | fn into_response(self) -> Response { method into_response (line 156) | fn into_response(self) -> Response { method into_response (line 162) | fn into_response(self) -> Response { method into_response (line 168) | fn into_response(self) -> Response { method into_response (line 174) | fn into_response(self) -> Response { method into_response (line 180) | fn into_response(self) -> Response { method into_response (line 186) | fn into_response(self) -> Response { method into_response (line 192) | fn into_response(self) -> Response { method into_response (line 203) | fn into_response(self) -> Response { method into_response (line 214) | fn into_response(self) -> Response { method into_response (line 224) | fn into_response(self) -> Response { method into_response (line 286) | fn into_response(self) -> Response { method into_response (line 292) | fn into_response(self) -> Response { method into_response (line 298) | fn into_response(self) -> Response { method into_response (line 304) | fn into_response(self) -> Response { method into_response (line 310) | fn into_response(self) -> Response { method into_response (line 316) | fn into_response(self) -> Response { method into_response (line 330) | fn into_response(self) -> Response { method into_response (line 340) | fn into_response(self) -> Response { method into_response (line 348) | fn into_response(self) -> Response { method into_response (line 362) | fn into_response(self) -> Response { method into_response (line 371) | fn into_response(self) -> Response { method into_response (line 381) | fn into_response(self) -> Response { method into_response (line 392) | fn into_response(self) -> Response { type BytesChainBody (line 238) | struct BytesChainBody { type Data (line 248) | type Data = Bytes; type Error (line 249) | type Error = Infallible; function poll_frame (line 251) | fn poll_frame( function is_end_stream (line 268) | fn is_end_stream(&self) -> bool { function size_hint (line 272) | fn size_hint(&self) -> SizeHint { FILE: axum-core/src/response/into_response_parts.rs type IntoResponseParts (line 73) | pub trait IntoResponseParts { method into_response_parts (line 80) | fn into_response_parts(self, res: ResponseParts) -> Result Result Result; method into_response_parts (line 150) | fn into_response_parts(self, mut res: ResponseParts) -> Result Result Result &HeaderMap { method headers_mut (line 115) | pub fn headers_mut(&mut self) -> &mut HeaderMap { method extensions (line 121) | pub fn extensions(&self) -> &Extensions { method extensions_mut (line 127) | pub fn extensions_mut(&mut self) -> &mut Extensions { type TryIntoHeaderError (line 163) | pub struct TryIntoHeaderError { function key (line 168) | pub(super) fn key(err: K) -> Self { function value (line 174) | pub(super) fn value(err: V) -> Self { type TryIntoHeaderErrorKind (line 182) | enum TryIntoHeaderErrorKind { method into_response (line 192) | fn into_response(self) -> Response { function fmt (line 205) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function source (line 220) | fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { function failed_into_response_parts (line 283) | fn failed_into_response_parts() { FILE: axum-core/src/response/mod.rs type Response (line 25) | pub type Response = http::Response; type Result (line 106) | pub type Result = std::result::Result; method into_response (line 112) | fn into_response(self) -> Response { type ErrorResponse (line 125) | pub struct ErrorResponse(Response); method from (line 131) | fn from(value: T) -> Self { type IntoResponseFailed (line 171) | pub struct IntoResponseFailed; type Error (line 174) | type Error = Infallible; method into_response_parts (line 176) | fn into_response_parts(self, mut res: ResponseParts) -> Result Response { method into_response (line 212) | fn into_response(self) -> Response { FILE: axum-extra/src/body/async_read_body.rs method new (line 59) | pub fn new(read: R) -> Self type Data (line 70) | type Data = Bytes; type Error (line 71) | type Error = Error; method poll_frame (line 74) | fn poll_frame( method is_end_stream (line 82) | fn is_end_stream(&self) -> bool { method size_hint (line 87) | fn size_hint(&self) -> http_body::SizeHint { method into_response (line 93) | fn into_response(self) -> Response { FILE: axum-extra/src/either.rs type Either (line 108) | pub enum Either { type Either3 (line 120) | pub enum Either3 { type Either4 (line 134) | pub enum Either4 { type Either5 (line 150) | pub enum Either5 { type Either6 (line 168) | pub enum Either6 { type Either7 (line 188) | pub enum Either7 { type Either8 (line 210) | pub enum Either8 { type Service (line 282) | type Service = Either; function layer (line 284) | fn layer(&self, inner: S) -> Self::Service { type Response (line 297) | type Response = E1::Response; type Error (line 298) | type Error = E1::Error; type Future (line 299) | type Future = futures_util::future::Either; function poll_ready (line 301) | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll Self::Future { FILE: axum-extra/src/extract/cached.rs type Cached (line 78) | pub struct Cached(pub T); type CachedEntry (line 81) | struct CachedEntry(T); type Rejection (line 88) | type Rejection = T::Rejection; function from_request_parts (line 90) | async fn from_request_parts(parts: &mut Parts, state: &S) -> Result Result Self { method new (line 139) | pub fn new() -> Self { method get (line 158) | pub fn get(&self, name: &str) -> Option<&Cookie<'static>> { method remove (line 174) | pub fn remove>>(mut self, cookie: C) -> Self { method add (line 194) | pub fn add>>(mut self, cookie: C) -> Self { method iter (line 200) | pub fn iter(&self) -> impl Iterator> { function cookies_from_request (line 104) | fn cookies_from_request(headers: &HeaderMap) -> impl Iterator Result Response { function set_cookies (line 220) | fn set_cookies(jar: &cookie::CookieJar, headers: &mut HeaderMap) { type AppState (line 318) | struct AppState { method from_ref (line 324) | fn from_ref(state: &AppState) -> Self { type CustomKey (line 336) | struct CustomKey(Key); method from_ref (line 330) | fn from_ref(state: &AppState) -> Self { method from (line 339) | fn from(custom: CustomKey) -> Self { function signed_cannot_access_invalid_cookies (line 346) | async fn signed_cannot_access_invalid_cookies() { function body_text (line 375) | async fn body_text(body: B) -> String FILE: axum-extra/src/extract/cookie/private.rs type PrivateCookieJar (line 108) | pub struct PrivateCookieJar { method from_headers (line 157) | pub fn from_headers(headers: &HeaderMap, key: Key) -> Self { method new (line 179) | pub fn new(key: Key) -> Self { function fmt (line 117) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Rejection (line 130) | type Rejection = Infallible; function from_request_parts (line 132) | async fn from_request_parts(parts: &mut Parts, state: &S) -> Result Option> { function remove (line 222) | pub fn remove>>(mut self, cookie: C) -> Self { function add (line 242) | pub fn add>>(mut self, cookie: C) -> Self { function decrypt (line 250) | pub fn decrypt(&self, cookie: Cookie<'static>) -> Option> { function iter (line 257) | pub fn iter(&self) -> impl Iterator> + '_ { function private_jar (line 264) | fn private_jar(&self) -> PrivateJar<&'_ cookie::CookieJar> { function private_jar_mut (line 268) | fn private_jar_mut(&mut self) -> PrivateJar<&'_ mut cookie::CookieJar> { type Error (line 274) | type Error = Infallible; method into_response_parts (line 276) | fn into_response_parts(self, mut res: ResponseParts) -> Result Response { type PrivateCookieJarIter (line 289) | struct PrivateCookieJarIter<'a, K> { type Item (line 295) | type Item = Cookie<'static>; method next (line 297) | fn next(&mut self) -> Option { method clone (line 309) | fn clone(&self) -> Self { FILE: axum-extra/src/extract/cookie/signed.rs type SignedCookieJar (line 125) | pub struct SignedCookieJar { method from_headers (line 174) | pub fn from_headers(headers: &HeaderMap, key: Key) -> Self { method new (line 196) | pub fn new(key: Key) -> Self { function fmt (line 134) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Rejection (line 147) | type Rejection = Infallible; function from_request_parts (line 149) | async fn from_request_parts(parts: &mut Parts, state: &S) -> Result Option> { function remove (line 240) | pub fn remove>>(mut self, cookie: C) -> Self { function add (line 260) | pub fn add>>(mut self, cookie: C) -> Self { function verify (line 268) | pub fn verify(&self, cookie: Cookie<'static>) -> Option> { function iter (line 275) | pub fn iter(&self) -> impl Iterator> + '_ { function signed_jar (line 282) | fn signed_jar(&self) -> SignedJar<&'_ cookie::CookieJar> { function signed_jar_mut (line 286) | fn signed_jar_mut(&mut self) -> SignedJar<&'_ mut cookie::CookieJar> { type Error (line 292) | type Error = Infallible; method into_response_parts (line 294) | fn into_response_parts(self, mut res: ResponseParts) -> Result Response { type SignedCookieJarIter (line 307) | struct SignedCookieJarIter<'a, K> { type Item (line 313) | type Item = Cookie<'static>; method next (line 315) | fn next(&mut self) -> Option { method clone (line 327) | fn clone(&self) -> Self { FILE: axum-extra/src/extract/form.rs type Form (line 29) | pub struct Form(pub T); type Rejection (line 38) | type Rejection = FormRejection; function from_request (line 40) | async fn from_request(req: Request, _state: &S) -> Result { type Rejection (line 91) | type Rejection = JsonDeserializerRejection; function from_request (line 93) | async fn from_request(req: Request, state: &S) -> Result Result { function json_content_type (line 185) | fn json_content_type(headers: &HeaderMap) -> bool { function deserialize_body (line 219) | async fn deserialize_body() { function deserialize_body_escaped_to_cow (line 246) | async fn deserialize_body_escaped_to_cow() { function deserialize_body_escaped_to_str (line 279) | async fn deserialize_body_escaped_to_str() { function consume_body_to_json_requires_json_content_type (line 312) | async fn consume_body_to_json_requires_json_content_type() { function json_content_types (line 334) | async fn json_content_types() { function invalid_json_syntax (line 361) | async fn invalid_json_syntax() { type Foo (line 382) | struct Foo { type Bar (line 390) | struct Bar { function invalid_json_data (line 398) | async fn invalid_json_data() { FILE: axum-extra/src/extract/multipart.rs type Multipart (line 90) | pub struct Multipart { type Rejection (line 98) | type Rejection = MultipartRejection; method from_request (line 100) | async fn from_request(req: Request, _state: &S) -> Result Result, MultipartE... method into_stream (line 125) | pub fn into_stream(self) -> impl Stream Option<&str> { method file_name (line 162) | pub fn file_name(&self) -> Option<&str> { method content_type (line 168) | pub fn content_type(&self) -> Option<&str> { method headers (line 174) | pub fn headers(&self) -> &HeaderMap { method bytes (line 179) | pub async fn bytes(self) -> Result { method text (line 187) | pub async fn text(self) -> Result { method chunk (line 229) | pub async fn chunk(&mut self) -> Result, MultipartError> { type Item (line 140) | type Item = Result; method poll_next (line 142) | fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll Self { method body_text (line 249) | pub fn body_text(&self) -> String { method status (line 265) | pub fn status(&self) -> http::StatusCode { method fmt (line 328) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method source (line 334) | fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { function status_code_from_multer_error (line 270) | fn status_code_from_multer_error(err: &multer::Error) -> StatusCode { function is_body_limit_error (line 305) | fn is_body_limit_error(err: &multer::Error) -> bool { method into_response (line 322) | fn into_response(self) -> Response { function parse_boundary (line 339) | fn parse_boundary(headers: &HeaderMap) -> Option { function content_type_with_encoding (line 368) | async fn content_type_with_encoding() { function _multipart_from_request_limited (line 399) | fn _multipart_from_request_limited() { function body_too_large (line 405) | async fn body_too_large() { function body_too_large_with_tracing (line 431) | async fn body_too_large_with_tracing() { FILE: axum-extra/src/extract/query.rs type Query (line 25) | pub struct Query(pub T); type Rejection (line 32) | type Rejection = QueryRejection; function from_request_parts (line 34) | async fn from_request_parts(parts: &mut Parts, _state: &S) -> Result Result { type OptionalQuery (line 131) | pub struct OptionalQuery(pub Option); type Rejection (line 138) | type Rejection = OptionalQueryRejection; function from_request_parts (line 140) | async fn from_request_parts(parts: &mut Parts, _state: &S) -> Result; function deref (line 157) | fn deref(&self) -> &Self::Target { function deref_mut (line 164) | fn deref_mut(&mut self) -> &mut Self::Target { function query_supports_multiple_values (line 189) | async fn query_supports_multiple_values() { function correct_rejection_status_code (line 214) | async fn correct_rejection_status_code() { function optional_query_supports_multiple_values (line 235) | async fn optional_query_supports_multiple_values() { function optional_query_deserializes_no_parameters_into_none (line 263) | async fn optional_query_deserializes_no_parameters_into_none() { function optional_query_preserves_parsing_errors (line 288) | async fn optional_query_preserves_parsing_errors() { function test_try_from_uri (line 316) | fn test_try_from_uri() { function test_try_from_uri_with_invalid_query (line 331) | fn test_try_from_uri_with_invalid_query() { FILE: axum-extra/src/extract/with_rejection.rs type WithRejection (line 60) | pub struct WithRejection(pub E, pub PhantomData); function into_inner (line 64) | pub fn into_inner(self) -> E { method fmt (line 73) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method clone (line 85) | fn clone(&self) -> Self { method default (line 93) | fn default() -> Self { type Target (line 99) | type Target = E; method deref (line 101) | fn deref(&self) -> &Self::Target { method deref_mut (line 107) | fn deref_mut(&mut self) -> &mut Self::Target { type Rejection (line 118) | type Rejection = R; function from_request (line 120) | async fn from_request(req: Request, state: &S) -> Result Result) -> std::fmt::Result { function extractor_rejection_is_transformed (line 165) | async fn extractor_rejection_is_transformed() { FILE: axum-extra/src/handler/mod.rs type HandlerCallWithExtractors (line 25) | pub trait HandlerCallWithExtractors: Sized { method call (line 30) | fn call(self, extractors: T, state: S) -> IntoHandler { method or (line 105) | fn or(self, rhs: R) -> Or type IntoHandler (line 162) | pub struct IntoHandler { type Future (line 174) | type Future = BoxFuture<'static, Response>; function call (line 176) | fn call(self, req: Request, state: S) -> Self::Future { method clone (line 193) | fn clone(&self) -> Self { FILE: axum-extra/src/handler/or.rs type Or (line 17) | pub struct Or { type Future (line 31) | type Future = EitherFuture< function call (line 36) | fn call( type Future (line 67) | type Future = BoxFuture<'static, Response>; function call (line 69) | fn call(self, req: Request, state: S) -> Self::Future { method clone (line 99) | fn clone(&self) -> Self { function works (line 120) | async fn works() { FILE: axum-extra/src/json_lines.rs type AsExtractor (line 85) | pub struct AsExtractor; type AsResponse (line 90) | pub struct AsResponse; function new (line 94) | pub fn new(stream: S) -> Self { type Rejection (line 107) | type Rejection = Infallible; function from_request (line 109) | async fn from_request(req: Request, _state: &S) -> Result; method poll_next (line 137) | fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll Response { type User (line 189) | struct User { function extractor (line 194) | async fn extractor() { function response (line 231) | async fn response() { FILE: axum-extra/src/lib.rs constant FRAGMENT (line 85) | const FRAGMENT: &AsciiSet = &CONTROLS.add(b' ').add(b'"').add(b'<').add(... constant PATH (line 86) | const PATH: &AsciiSet = &FRAGMENT.add(b'#').add(b'?').add(b'{').add(b'}'); constant PATH_SEGMENT (line 87) | pub const PATH_SEGMENT: &AsciiSet = &PATH.add(b'/').add(b'%'); FILE: axum-extra/src/middleware.rs function option_layer (line 33) | pub fn option_layer(layer: Option) -> Either<(ResponseAxumBodyLaye... function remap_response_body (line 55) | fn remap_response_body() { FILE: axum-extra/src/protobuf.rs type Protobuf (line 94) | pub struct Protobuf(pub T); type Rejection (line 101) | type Rejection = ProtobufRejection; function from_request (line 103) | async fn from_request(req: Request, _: &S) -> Result Self { method into_response (line 130) | fn into_response(self) -> Response { function decode_body (line 173) | async fn decode_body() { function prost_decode_error (line 200) | async fn prost_decode_error() { function encode_body (line 227) | async fn encode_body() { FILE: axum-extra/src/response/attachment.rs type Attachment (line 39) | pub struct Attachment { function new (line 47) | pub fn new(inner: T) -> Self { function filename (line 58) | pub fn filename>(mut self, value: H) -> Self { function content_type (line 69) | pub fn content_type>(mut self, value: H) -> Self { method into_response (line 83) | fn into_response(self) -> axum_core::response::Response { function attachment_without_filename (line 113) | fn attachment_without_filename() { function attachment_with_normal_filename (line 120) | fn attachment_with_normal_filename() { function attachment_filename_escapes_quotes (line 129) | fn attachment_filename_escapes_quotes() { function attachment_filename_escapes_backslashes (line 143) | fn attachment_filename_escapes_backslashes() { FILE: axum-extra/src/response/content_disposition.rs type EscapedFilename (line 8) | pub(crate) struct EscapedFilename<'a>(pub &'a str); function fmt (line 11) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function no_special_characters (line 27) | fn no_special_characters() { function escapes_double_quotes (line 32) | fn escapes_double_quotes() { function escapes_backslashes (line 40) | fn escapes_backslashes() { FILE: axum-extra/src/response/erased_json.rs type ErasedJson (line 43) | pub struct ErasedJson(Result>); method new (line 47) | pub fn new(val: T) -> Self { method pretty (line 57) | pub fn pretty(val: T) -> Self { method into_response (line 71) | fn into_response(self) -> Response { FILE: axum-extra/src/response/error_response.rs type InternalServerError (line 28) | pub struct InternalServerError(pub T); method into_response (line 31) | fn into_response(self) -> Response { function internal_server_error (line 47) | fn internal_server_error() { FILE: axum-extra/src/response/file_stream.rs type FileStream (line 49) | pub struct FileStream { function new (line 65) | pub fn new(stream: S) -> Self { function file_name (line 76) | pub fn file_name(mut self, file_name: impl Into) -> Self { function content_size (line 82) | pub fn content_size(mut self, len: u64) -> Self { function into_range_response (line 126) | pub fn into_range_response(self, start: u64, end: u64, total_size: u64) ... function try_range_response (line 184) | pub async fn try_range_response( function from_path (line 244) | pub async fn from_path(path: impl AsRef) -> io::Result { method into_response (line 273) | fn into_response(self) -> Response { function response (line 313) | async fn response() -> Result<(), Box> { function response_not_set_filename (line 352) | async fn response_not_set_filename() -> Result<(), Box Result<(), Box Result<(), Box Result<(), Box> { function response_range_file (line 533) | async fn response_range_file() -> Result<(), Box> { function range_stream (line 573) | async fn range_stream(headers: HeaderMap) -> Response { function parse_range_header (line 593) | fn parse_range_header(range: &str) -> Option<(u64, u64)> { function filename_escapes_quotes (line 608) | async fn filename_escapes_quotes() -> Result<(), Box Result<(), Box Result<(), Box) -> Self { method from_iter (line 205) | fn from_iter>(iter: T) -> Self { method into_response (line 34) | fn into_response(self) -> Response { type Part (line 68) | pub struct Part { method text (line 108) | pub fn text(name: String, contents: &str) -> Self { method file (line 133) | pub fn file(field_name: &str, file_name: &str, contents: Vec) -> S... method raw_part (line 160) | pub fn raw_part( method serialize (line 176) | pub(super) fn serialize(&self) -> Vec { function generate_boundary (line 217) | fn generate_boundary() -> String { function process_form (line 236) | async fn process_form() -> Result<(), Box> { function valid_boundary_generation (line 286) | fn valid_boundary_generation() { FILE: axum-extra/src/routing/mod.rs function __private_validate_static_path (line 32) | pub const fn __private_validate_static_path(path: &'static str) -> &'sta... type RouterExt (line 119) | pub trait RouterExt: sealed::Sealed { method typed_get (line 127) | fn typed_get(self, handler: H) -> Self method typed_delete (line 140) | fn typed_delete(self, handler: H) -> Self method typed_head (line 153) | fn typed_head(self, handler: H) -> Self method typed_options (line 166) | fn typed_options(self, handler: H) -> Self method typed_patch (line 179) | fn typed_patch(self, handler: H) -> Self method typed_post (line 192) | fn typed_post(self, handler: H) -> Self method typed_put (line 205) | fn typed_put(self, handler: H) -> Self method typed_trace (line 218) | fn typed_trace(self, handler: H) -> Self method typed_connect (line 231) | fn typed_connect(self, handler: H) -> Self method route_with_tsr (line 262) | fn route_with_tsr(self, path: &str, method_router: MethodRouter) ->... method route_service_with_tsr (line 269) | fn route_service_with_tsr(self, path: &str, service: T) -> Self function typed_get (line 282) | fn typed_get(self, handler: H) -> Self function typed_delete (line 292) | fn typed_delete(self, handler: H) -> Self function typed_head (line 302) | fn typed_head(self, handler: H) -> Self function typed_options (line 312) | fn typed_options(self, handler: H) -> Self function typed_patch (line 322) | fn typed_patch(self, handler: H) -> Self function typed_post (line 332) | fn typed_post(self, handler: H) -> Self function typed_put (line 342) | fn typed_put(self, handler: H) -> Self function typed_trace (line 352) | fn typed_trace(self, handler: H) -> Self function typed_connect (line 362) | fn typed_connect(self, handler: H) -> Self function route_with_tsr (line 372) | fn route_with_tsr(mut self, path: &str, method_router: MethodRouter) ... function route_service_with_tsr (line 383) | fn route_service_with_tsr(mut self, path: &str, service: T) -> Self function validate_tsr_path (line 397) | fn validate_tsr_path(path: &str) { function add_tsr_redirect_route (line 403) | fn add_tsr_redirect_route( function map_path (line 445) | fn map_path(original_uri: Uri, f: F) -> Option type Sealed (line 465) | pub trait Sealed {} function test_tsr (line 479) | async fn test_tsr() { function tsr_with_params (line 502) | async fn tsr_with_params() { function tsr_maintains_query_params (line 533) | async fn tsr_maintains_query_params() { function tsr_works_in_nested_router (line 544) | async fn tsr_works_in_nested_router() { function tsr_independent_route_registration (line 560) | fn tsr_independent_route_registration() { function tsr_at_root (line 568) | fn tsr_at_root() { FILE: axum-extra/src/routing/resource.rs type Resource (line 36) | pub struct Resource { function named (line 48) | pub fn named(resource_name: &str) -> Self { function index (line 56) | pub fn index(self, handler: H) -> Self function create (line 66) | pub fn create(self, handler: H) -> Self function new (line 76) | pub fn new(self, handler: H) -> Self function show (line 88) | pub fn show(self, handler: H) -> Self function edit (line 100) | pub fn edit(self, handler: H) -> Self function update (line 112) | pub fn update(self, handler: H) -> Self function destroy (line 127) | pub fn destroy(self, handler: H) -> Self function index_create_path (line 136) | fn index_create_path(&self) -> String { function show_update_destroy_path (line 140) | fn show_update_destroy_path(&self) -> String { function route (line 144) | fn route(mut self, path: &str, method_router: MethodRouter) -> Self { function from (line 151) | fn from(resource: Resource) -> Self { function works (line 166) | async fn works() { function call_route (line 216) | async fn call_route(app: &Router, method: Method, uri: &str) -> String { FILE: axum-extra/src/routing/typed.rs type TypedPath (line 217) | pub trait TypedPath: std::fmt::Display { constant PATH (line 219) | const PATH: &'static str; method to_uri (line 232) | fn to_uri(&self) -> Uri { method with_query_params (line 269) | fn with_query_params(self, params: T) -> WithQueryParams constant PATH (line 317) | const PATH: &'static str = P::PATH; type WithQueryParams (line 282) | pub struct WithQueryParams { function fmt (line 292) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type SecondElementIs (line 331) | pub trait SecondElementIs

: Sealed {} type UsersShow (line 392) | struct UsersShow { type Params (line 397) | struct Params { function with_params (line 404) | fn with_params() { function with_params_called_multiple_times (line 422) | fn with_params_called_multiple_times() { function supports_with_rejection (line 438) | fn supports_with_rejection() { FILE: axum-extra/src/typed_header.rs type TypedHeader (line 55) | pub struct TypedHeader(pub T); type Rejection (line 62) | type Rejection = TypedHeaderRejection; function from_request_parts (line 64) | async fn from_request_parts(parts: &mut Parts, _state: &S) -> Result Result Response { type TypedHeaderRejection (line 133) | pub struct TypedHeaderRejection { method name (line 141) | pub fn name(&self) -> &http::header::HeaderName { method reason (line 147) | pub fn reason(&self) -> &TypedHeaderRejectionReason { method is_missing (line 155) | pub fn is_missing(&self) -> bool { method fmt (line 191) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method source (line 204) | fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { type TypedHeaderRejectionReason (line 164) | pub enum TypedHeaderRejectionReason { method is_missing (line 176) | pub fn is_missing(&self) -> bool { method into_response (line 182) | fn into_response(self) -> Response { function typed_header (line 219) | async fn typed_header() { FILE: axum-macros/src/attr_parsing.rs function parse_parenthesized_attribute (line 7) | pub(crate) fn parse_parenthesized_attribute( function parse_assignment_attribute (line 32) | pub(crate) fn parse_assignment_attribute( type Combine (line 55) | pub(crate) trait Combine: Sized { method combine (line 56) | fn combine(self, other: Self) -> syn::Result; function parse_attrs (line 59) | pub(crate) fn parse_attrs(ident: &str, attrs: &[syn::Attribute]) -> s... function combine_attribute (line 70) | pub(crate) fn combine_attribute(a: &mut Option<(K, T)>, b: Option<... function combine_unary_attribute (line 85) | pub(crate) fn combine_unary_attribute(a: &mut Option, b: Option... function second (line 100) | pub(crate) fn second(tuple: (T, K)) -> K { FILE: axum-macros/src/axum_test.rs function expand (line 5) | pub(crate) fn expand(_attr: Attrs, mut item_fn: ItemFn) -> TokenStream { type Attrs (line 16) | pub(crate) struct Attrs; method parse (line 19) | fn parse(_input: syn::parse::ParseStream<'_>) -> syn::Result { function replace_nest_with_nest_service (line 24) | fn replace_nest_with_nest_service(mut item_fn: ItemFn) -> Option { type NestToNestService (line 34) | struct NestToNestService { method visit_expr_method_call_mut (line 39) | fn visit_expr_method_call_mut(&mut self, i: &mut syn::ExprMethodCall) { FILE: axum-macros/src/debug_handler.rs function expand (line 11) | pub(crate) fn expand(attr: Attrs, item_fn: &ItemFn, kind: FunctionKind) ... type FunctionKind (line 92) | pub(crate) enum FunctionKind { method fmt (line 98) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method name_uppercase_plural (line 107) | fn name_uppercase_plural(self) -> &'static str { type Attrs (line 120) | pub(crate) struct Attrs { method parse (line 125) | fn parse(input: syn::parse::ParseStream<'_>) -> syn::Result { function check_extractor_count (line 143) | fn check_extractor_count(item_fn: &ItemFn, kind: FunctionKind) -> Option... function extractor_idents (line 164) | fn extractor_idents( function check_path_extractor (line 190) | fn check_path_extractor(item_fn: &ItemFn, kind: FunctionKind) -> TokenSt... function is_self_pat_type (line 213) | fn is_self_pat_type(typed: &syn::PatType) -> bool { function check_inputs_impls_from_request (line 223) | fn check_inputs_impls_from_request( function check_output_tuples (line 341) | fn check_output_tuples(item_fn: &ItemFn) -> TokenStream { function check_into_response (line 397) | fn check_into_response(handler: &Ident, ty: &Type) -> TokenStream { function check_is_response_parts (line 437) | fn check_is_response_parts(ty: &Type, ident: &Ident, index: usize) -> To... function check_into_response_parts (line 456) | fn check_into_response_parts(ty: &Type, ident: &Ident, index: usize) -> ... function check_input_order (line 498) | fn check_input_order(item_fn: &ItemFn, kind: FunctionKind) -> Option Option { function request_consuming_type_name (line 585) | fn request_consuming_type_name(ty: &Type) -> Option<&'static str> { function well_known_last_response_type (line 606) | fn well_known_last_response_type(ty: &Type) -> Option<&'static str> { function check_output_impls_into_response (line 622) | fn check_output_impls_into_response(item_fn: &ItemFn) -> TokenStream { function check_future_send (line 711) | fn check_future_send(item_fn: &ItemFn, kind: FunctionKind) -> TokenStream { function self_receiver (line 771) | fn self_receiver(item_fn: &ItemFn) -> Option { function state_types_from_args (line 813) | fn state_types_from_args(item_fn: &ItemFn) -> HashSet { function next_is_last_input (line 826) | fn next_is_last_input(item_fn: &ItemFn) -> TokenStream { function skip_next_arg (line 863) | fn skip_next_arg(arg: &FnArg, kind: FunctionKind) -> bool { function ui_debug_handler (line 884) | fn ui_debug_handler() { function ui_debug_middleware (line 889) | fn ui_debug_middleware() { FILE: axum-macros/src/from_ref.rs function expand (line 11) | pub(crate) fn expand(item: ItemStruct) -> syn::Result { function expand_field (line 29) | fn expand_field(state: &Ident, idx: usize, field: &Field) -> TokenStream { type FieldAttrs (line 71) | pub(super) struct FieldAttrs { method parse (line 76) | fn parse(input: ParseStream<'_>) -> syn::Result { method combine (line 95) | fn combine(mut self, other: Self) -> syn::Result { function ui (line 103) | fn ui() { FILE: axum-macros/src/from_request/attr.rs type FromRequestContainerAttrs (line 14) | pub(super) struct FromRequestContainerAttrs { method parse (line 21) | fn parse(input: ParseStream<'_>) -> syn::Result { method combine (line 50) | fn combine(mut self, other: Self) -> syn::Result { type FromRequestFieldAttrs (line 64) | pub(super) struct FromRequestFieldAttrs { method parse (line 69) | fn parse(input: ParseStream<'_>) -> syn::Result { method combine (line 88) | fn combine(mut self, other: Self) -> syn::Result { FILE: axum-macros/src/from_request/mod.rs type Trait (line 16) | pub(crate) enum Trait { method via_marker_type (line 22) | fn via_marker_type(self) -> Option { method fmt (line 31) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type State (line 40) | enum State { method impl_generics (line 51) | fn impl_generics(&self) -> impl Iterator { method trait_generics (line 64) | fn trait_generics(&self) -> impl Iterator { method bounds (line 71) | fn bounds(&self) -> TokenStream { method to_tokens (line 85) | fn to_tokens(&self, tokens: &mut TokenStream) { function expand (line 93) | pub(crate) fn expand(item: syn::Item, tr: Trait) -> syn::Result, tr: Trait) -> sy... function impl_struct_by_extracting_each_field (line 330) | fn impl_struct_by_extracting_each_field( function has_no_fields (line 404) | fn has_no_fields(fields: &syn::Fields) -> bool { function extract_fields (line 412) | fn extract_fields( function peel_option (line 641) | fn peel_option(ty: &syn::Type) -> Option<&syn::Type> { function peel_result_ok (line 670) | fn peel_result_ok(ty: &syn::Type) -> Option<&syn::Type> { function impl_struct_by_extracting_all_at_once (line 699) | fn impl_struct_by_extracting_all_at_once( function impl_enum_by_extracting_all_at_once (line 871) | fn impl_enum_by_extracting_all_at_once( function infer_state_type_from_field_types (line 987) | fn infer_state_type_from_field_types(fields: &Fields) -> impl Iterator impl Itera... function path_ident_is_state (line 1036) | fn path_ident_is_state(path: &Path) -> bool { function state_from_via (line 1044) | fn state_from_via(ident: &Ident, via: &Path) -> Option { function ui (line 1049) | fn ui() { function test_field_doesnt_impl_from_request (line 1063) | fn test_field_doesnt_impl_from_request() {} FILE: axum-macros/src/lib.rs function derive_from_request (line 376) | pub fn derive_from_request(item: TokenStream) -> TokenStream { function derive_from_request_parts (line 425) | pub fn derive_from_request_parts(item: TokenStream) -> TokenStream { function debug_handler (line 576) | pub fn debug_handler(_attr: TokenStream, input: TokenStream) -> TokenStr... function debug_middleware (line 632) | pub fn debug_middleware(_attr: TokenStream, input: TokenStream) -> Token... function __private_axum_test (line 654) | pub fn __private_axum_test(_attr: TokenStream, input: TokenStream) -> To... function derive_typed_path (line 664) | pub fn derive_typed_path(input: TokenStream) -> TokenStream { function derive_from_ref (line 714) | pub fn derive_from_ref(item: TokenStream) -> TokenStream { function expand_with (line 718) | fn expand_with(input: TokenStream, f: F) -> TokenStream function expand_attr_with (line 727) | fn expand_attr_with(attr: TokenStream, input: TokenStream, f... function expand (line 742) | fn expand(result: syn::Result) -> TokenStream function infer_state_types (line 758) | fn infer_state_types<'a, I>(types: I) -> impl Iterator + 'a function run_ui_tests (line 797) | fn run_ui_tests(directory: &str) { FILE: axum-macros/src/typed_path.rs function expand (line 7) | pub(crate) fn expand(item_struct: &ItemStruct) -> syn::Result) -> syn::Result { method combine (line 85) | fn combine(mut self, other: Self) -> syn::Result { function expand_named_fields (line 101) | fn expand_named_fields( function expand_unnamed_fields (line 169) | fn expand_unnamed_fields( function simple_pluralize (line 274) | fn simple_pluralize(count: usize, word: &str) -> String { function expand_unit_fields (line 282) | fn expand_unit_fields( function format_str_from_path (line 358) | fn format_str_from_path(segments: &[Segment]) -> String { function captures_from_path (line 369) | fn captures_from_path(segments: &[Segment]) -> Vec { function parse_path (line 379) | fn parse_path(path: &LitStr) -> syn::Result> { type Segment (line 409) | enum Segment { function path_rejection (line 414) | fn path_rejection() -> TokenStream { function rejection_assoc_type (line 420) | fn rejection_assoc_type(rejection: Option<&syn::Path>) -> TokenStream { function map_err_rejection (line 427) | fn map_err_rejection(rejection: Option<&syn::Path>) -> TokenStream { function ui (line 442) | fn ui() { FILE: axum-macros/src/with_position.rs type WithPosition (line 31) | pub(crate) struct WithPosition function new (line 43) | pub(crate) fn new(iter: impl IntoIterator) -> Self { method clone (line 56) | fn clone(&self) -> Self { type Position (line 65) | pub(crate) enum Position { function into_inner (line 73) | pub(crate) fn into_inner(self) -> T { type Item (line 81) | type Item = Position; method next (line 83) | fn next(&mut self) -> Option { method size_hint (line 109) | fn size_hint(&self) -> (usize, Option) { FILE: axum-macros/tests/debug_handler/fail/argument_not_extractor.rs function handler (line 4) | async fn handler(_foo: bool) {} function main (line 6) | fn main() {} FILE: axum-macros/tests/debug_handler/fail/duplicate_args.rs function handler (line 4) | async fn handler() {} function main (line 6) | fn main() {} FILE: axum-macros/tests/debug_handler/fail/extension_not_clone.rs type NonCloneType (line 4) | struct NonCloneType; function test_extension_non_clone (line 7) | async fn test_extension_non_clone(_: Extension) {} function main (line 9) | fn main() {} FILE: axum-macros/tests/debug_handler/fail/extract_self_mut.rs type A (line 4) | struct A; type Rejection (line 10) | type Rejection = (); method from_request (line 12) | async fn from_request(_req: Request, _state: &S) -> Result Result(_extract: T) {} function main (line 6) | fn main() {} FILE: axum-macros/tests/debug_handler/fail/invalid_attrs.rs function handler (line 4) | async fn handler() {} function main (line 6) | fn main() {} FILE: axum-macros/tests/debug_handler/fail/json_not_deserialize.rs type Struct (line 4) | struct Struct {} function handler (line 7) | async fn handler(_foo: Json) {} function main (line 9) | fn main() {} FILE: axum-macros/tests/debug_handler/fail/multiple_paths.rs function handler (line 5) | async fn handler(_: Path, _: Path) {} function main (line 7) | fn main() {} FILE: axum-macros/tests/debug_handler/fail/multiple_request_consumers.rs function one (line 9) | async fn one(_: Json<()>, _: String, _: Uri) {} function two (line 12) | async fn two(_: Json<()>, _: Method, _: Bytes, _: Uri, _: String) {} function main (line 14) | fn main() {} FILE: axum-macros/tests/debug_handler/fail/not_a_function.rs type A (line 4) | struct A; function main (line 6) | fn main() {} FILE: axum-macros/tests/debug_handler/fail/not_async.rs function handler (line 4) | fn handler() {} function main (line 6) | fn main() {} FILE: axum-macros/tests/debug_handler/fail/not_send.rs function handler (line 4) | async fn handler() { function main (line 9) | fn main() {} FILE: axum-macros/tests/debug_handler/fail/output_tuple_too_many.rs function handler (line 4) | async fn handler() -> ( function main (line 28) | fn main() {} FILE: axum-macros/tests/debug_handler/fail/returning_request_parts.rs function handler (line 2) | async fn handler() -> ( function main (line 9) | fn main() {} FILE: axum-macros/tests/debug_handler/fail/single_wrong_return_tuple.rs type NotIntoResponse (line 3) | struct NotIntoResponse; function handler (line 6) | async fn handler() -> (NotIntoResponse) { function main (line 10) | fn main() {} FILE: axum-macros/tests/debug_handler/fail/too_many_extractors.rs function handler (line 5) | async fn handler( function main (line 26) | fn main() {} FILE: axum-macros/tests/debug_handler/fail/wrong_order.rs function one (line 5) | async fn one(_: Json<()>, _: Uri) {} function two (line 8) | async fn two(_: String, _: Uri) {} function main (line 10) | fn main() {} FILE: axum-macros/tests/debug_handler/fail/wrong_return_tuple.rs function named_type (line 4) | async fn named_type() -> ( type CustomIntoResponse (line 12) | struct CustomIntoResponse {} method into_response (line 14) | fn into_response(self) -> axum::response::Response { function custom_type (line 19) | async fn custom_type() -> ( function main (line 27) | fn main() {} FILE: axum-macros/tests/debug_handler/fail/wrong_return_type.rs function handler (line 4) | async fn handler() -> bool { function main (line 8) | fn main() {} FILE: axum-macros/tests/debug_handler/pass/associated_fn_without_self.rs type A (line 3) | struct A; method handler (line 7) | async fn handler() {} function main (line 10) | fn main() {} FILE: axum-macros/tests/debug_handler/pass/deny_unreachable_code.rs function handler (line 6) | async fn handler(Path(_): Path) {} function main (line 8) | fn main() {} FILE: axum-macros/tests/debug_handler/pass/impl_future.rs function handler (line 5) | fn handler() -> impl Future { function main (line 9) | fn main() {} FILE: axum-macros/tests/debug_handler/pass/impl_into_response.rs function handler (line 5) | async fn handler() -> impl IntoResponse { function main (line 9) | fn main() {} FILE: axum-macros/tests/debug_handler/pass/infer_state.rs function handler (line 5) | async fn handler(_: State) {} function handler_2 (line 8) | async fn handler_2(_: axum::extract::State) {} function handler_3 (line 11) | async fn handler_3(_: axum::extract::State, _: axum::extract::... function handler_4 (line 14) | async fn handler_4(_: State, _: State) {} function handler_5 (line 17) | async fn handler_5(_: axum::extract::State, _: State... type AppState (line 20) | struct AppState; function main (line 22) | fn main() {} FILE: axum-macros/tests/debug_handler/pass/multiple_extractors.rs function handler (line 5) | async fn handler(_one: Method, _two: Uri, _three: String) {} function main (line 7) | fn main() {} FILE: axum-macros/tests/debug_handler/pass/mut_extractor.rs function handler (line 4) | async fn handler(mut foo: String) -> String { function main (line 9) | fn main() {} FILE: axum-macros/tests/debug_handler/pass/ready.rs function handler (line 5) | fn handler() -> Ready<()> { function main (line 9) | fn main() {} FILE: axum-macros/tests/debug_handler/pass/request_last.rs function handler (line 5) | async fn handler(_: Extension, _: Request) {} function main (line 7) | fn main() {} FILE: axum-macros/tests/debug_handler/pass/result_impl_into_response.rs function main (line 4) | fn main() {} function concrete_future (line 7) | fn concrete_future() -> std::future::Ready> { function impl_future (line 12) | fn impl_future() -> impl std::future::Future Result { function handler_no_arg_two (line 24) | async fn handler_no_arg_two() -> Result<(), impl IntoResponse> { function handler_no_arg_three (line 29) | async fn handler_no_arg_three() -> Result Result Result { function handler_two (line 47) | async fn handler_two(foo: String) -> Result<(), impl IntoResponse> { function handler_three (line 53) | async fn handler_three(foo: String) -> Result Result Result { method handler_no_arg_two (line 75) | async fn handler_no_arg_two(self) -> Result<(), impl IntoResponse> { method handler_no_arg_three (line 80) | async fn handler_no_arg_three(self) -> Result Result Result Result<(), impl IntoRespons... method handler_three (line 106) | async fn handler_three(self, foo: String) -> Result Result Result<... FILE: axum-macros/tests/debug_handler/pass/returns_self.rs type A (line 4) | struct A; method handler (line 8) | async fn handler() -> Self { method into_response (line 14) | fn into_response(self) -> Response { function main (line 19) | fn main() {} FILE: axum-macros/tests/debug_handler/pass/self_receiver.rs type A (line 4) | struct A; type Rejection (line 10) | type Rejection = (); method from_request (line 12) | async fn from_request(_req: Request, _state: &S) -> Result) {} type Rejection (line 21) | type Rejection = (); function from_request (line 23) | async fn from_request(_req: Request, _state: &S) -> Result Result, _: Request) {} type AppState (line 8) | struct AppState; function main (line 10) | fn main() {} FILE: axum-macros/tests/debug_middleware/fail/doesnt_take_next.rs function my_middleware (line 8) | async fn my_middleware(request: Request) -> Response { function main (line 13) | fn main() {} FILE: axum-macros/tests/debug_middleware/fail/next_not_last.rs function my_middleware (line 4) | async fn my_middleware(next: Next, request: Request) -> Response { function main (line 8) | fn main() {} FILE: axum-macros/tests/debug_middleware/fail/takes_next_twice.rs function my_middleware (line 4) | async fn my_middleware(request: Request, next: Next, next2: Next) -> Res... function main (line 9) | fn main() {} FILE: axum-macros/tests/debug_middleware/pass/basic.rs function my_middleware (line 4) | async fn my_middleware(request: Request, next: Next) -> Response { function main (line 8) | fn main() {} FILE: axum-macros/tests/from_ref/fail/generics.rs type AppState (line 4) | struct AppState { function main (line 8) | fn main() {} FILE: axum-macros/tests/from_ref/pass/basic.rs type AppState (line 9) | struct AppState { function handler (line 14) | async fn handler(_: State) {} function main (line 16) | fn main() { FILE: axum-macros/tests/from_ref/pass/reference-types.rs type State (line 6) | struct State { function main (line 10) | fn main() {} FILE: axum-macros/tests/from_ref/pass/skip.rs type AppState (line 4) | struct AppState { function main (line 10) | fn main() {} FILE: axum-macros/tests/from_request/fail/double_via_attr.rs type Extractor (line 4) | struct Extractor(#[from_request(via(axum::Extension), via(axum::Extensio... type State (line 7) | struct State; function main (line 9) | fn main() {} FILE: axum-macros/tests/from_request/fail/enum_from_request_ident_in_variant.rs type Extractor (line 5) | enum Extractor { function main (line 12) | fn main() {} FILE: axum-macros/tests/from_request/fail/enum_from_request_on_variant.rs type Extractor (line 5) | enum Extractor { function main (line 10) | fn main() {} FILE: axum-macros/tests/from_request/fail/enum_no_via.rs type Extractor (line 4) | enum Extractor {} function main (line 6) | fn main() {} FILE: axum-macros/tests/from_request/fail/generic.rs type Extractor (line 4) | struct Extractor(Option); function main (line 6) | fn main() {} FILE: axum-macros/tests/from_request/fail/generic_without_via.rs type Extractor (line 5) | struct Extractor(T); function foo (line 7) | async fn foo(_: Extractor<()>) {} function main (line 9) | fn main() { FILE: axum-macros/tests/from_request/fail/generic_without_via_rejection.rs type Extractor (line 6) | struct Extractor(T); function foo (line 8) | async fn foo(_: Extractor<()>) {} function main (line 10) | fn main() { FILE: axum-macros/tests/from_request/fail/not_enum_or_struct.rs function main (line 6) | fn main() {} FILE: axum-macros/tests/from_request/fail/override_rejection_on_enum_without_via.rs function main (line 9) | fn main() { function handler (line 13) | async fn handler(_: MyExtractor) {} function handler_result (line 15) | async fn handler_result(_: Result) {} type MyExtractor (line 19) | enum MyExtractor {} type MyRejection (line 21) | struct MyRejection {} method from (line 24) | fn from(_: ExtensionRejection) -> Self { method into_response (line 30) | fn into_response(self) -> Response { FILE: axum-macros/tests/from_request/fail/parts_extracting_body.rs type Extractor (line 4) | struct Extractor { function assert_from_request (line 8) | fn assert_from_request() function main (line 14) | fn main() {} FILE: axum-macros/tests/from_request/fail/state_infer_multiple_different_types.rs type Extractor (line 5) | struct Extractor { type AppState (line 11) | struct AppState {} type OtherState (line 14) | struct OtherState {} function assert_from_request (line 16) | fn assert_from_request() function main (line 22) | fn main() {} FILE: axum-macros/tests/from_request/fail/unknown_attr_container.rs type Extractor (line 5) | struct Extractor; function main (line 7) | fn main() {} FILE: axum-macros/tests/from_request/fail/unknown_attr_field.rs type Extractor (line 4) | struct Extractor(#[from_request(foo)] String); function main (line 6) | fn main() {} FILE: axum-macros/tests/from_request/fail/via_on_container_and_field.rs type Extractor (line 5) | struct Extractor(#[from_request(via(axum::Extension))] State); type State (line 8) | struct State; function main (line 10) | fn main() {} FILE: axum-macros/tests/from_request/pass/container.rs type Extractor (line 10) | struct Extractor { function assert_from_request (line 16) | fn assert_from_request() function main (line 22) | fn main() {} FILE: axum-macros/tests/from_request/pass/container_parts.rs type Extractor (line 9) | struct Extractor { function assert_from_request (line 15) | fn assert_from_request() function main (line 21) | fn main() {} FILE: axum-macros/tests/from_request/pass/empty_named.rs type Extractor (line 4) | struct Extractor {} function assert_from_request (line 6) | fn assert_from_request() function main (line 12) | fn main() {} FILE: axum-macros/tests/from_request/pass/empty_named_parts.rs type Extractor (line 4) | struct Extractor {} function assert_from_request (line 6) | fn assert_from_request() function main (line 12) | fn main() {} FILE: axum-macros/tests/from_request/pass/empty_tuple.rs type Extractor (line 4) | struct Extractor(); function assert_from_request (line 6) | fn assert_from_request() function main (line 12) | fn main() {} FILE: axum-macros/tests/from_request/pass/empty_tuple_parts.rs type Extractor (line 4) | struct Extractor(); function assert_from_request (line 6) | fn assert_from_request() function main (line 12) | fn main() {} FILE: axum-macros/tests/from_request/pass/enum_via.rs type Extractor (line 6) | enum Extractor {} function foo (line 8) | async fn foo(_: Extractor) {} function main (line 10) | fn main() { FILE: axum-macros/tests/from_request/pass/enum_via_parts.rs type Extractor (line 6) | enum Extractor {} function foo (line 8) | async fn foo(_: Extractor) {} function main (line 10) | fn main() { FILE: axum-macros/tests/from_request/pass/named.rs type Extractor (line 9) | struct Extractor { function assert_from_request (line 18) | fn assert_from_request() function main (line 24) | fn main() {} FILE: axum-macros/tests/from_request/pass/named_parts.rs type Extractor (line 9) | struct Extractor { function assert_from_request (line 17) | fn assert_from_request() function main (line 23) | fn main() {} FILE: axum-macros/tests/from_request/pass/named_via.rs type Extractor (line 12) | struct Extractor { function assert_from_request (line 25) | fn assert_from_request() type State (line 32) | struct State; function main (line 34) | fn main() {} FILE: axum-macros/tests/from_request/pass/named_via_parts.rs type Extractor (line 12) | struct Extractor { function assert_from_request (line 25) | fn assert_from_request() type State (line 32) | struct State; function main (line 34) | fn main() {} FILE: axum-macros/tests/from_request/pass/override_rejection.rs function main (line 9) | fn main() { function handler (line 13) | async fn handler(_: MyExtractor) {} function handler_result (line 15) | async fn handler_result(_: Result) {} type MyExtractor (line 19) | struct MyExtractor { type OtherExtractor (line 26) | struct OtherExtractor; type Rejection (line 33) | type Rejection = (StatusCode, String); method from_request (line 35) | async fn from_request(_req: Request, _state: &S) -> Result Self { method from (line 49) | fn from(_: (StatusCode, String)) -> Self { method into_response (line 55) | fn into_response(self) -> Response { FILE: axum-macros/tests/from_request/pass/override_rejection_non_generic.rs function main (line 11) | fn main() { function handler (line 15) | async fn handler(_: MyJson) {} function handler_result (line 17) | async fn handler_result(_: Result) {} type MyJson (line 22) | struct MyJson(HashMap); type MyJsonRejection (line 24) | struct MyJsonRejection {} method from (line 27) | fn from(_: JsonRejection) -> Self { method into_response (line 33) | fn into_response(self) -> Response { FILE: axum-macros/tests/from_request/pass/override_rejection_non_generic_parts.rs function main (line 11) | fn main() { function handler (line 15) | async fn handler(_: MyQuery) {} function handler_result (line 17) | async fn handler_result(_: Result) {} type MyQuery (line 22) | struct MyQuery(HashMap); type MyQueryRejection (line 24) | struct MyQueryRejection {} method from (line 27) | fn from(_: QueryRejection) -> Self { method into_response (line 33) | fn into_response(self) -> Response { FILE: axum-macros/tests/from_request/pass/override_rejection_parts.rs function main (line 9) | fn main() { function handler (line 13) | async fn handler(_: MyExtractor) {} function handler_result (line 15) | async fn handler_result(_: Result) {} type MyExtractor (line 19) | struct MyExtractor { type OtherExtractor (line 26) | struct OtherExtractor; type Rejection (line 33) | type Rejection = (StatusCode, String); method from_request_parts (line 35) | async fn from_request_parts(_parts: &mut Parts, _state: &S) -> Result<... type MyRejection (line 40) | struct MyRejection {} method from (line 43) | fn from(_: ExtensionRejection) -> Self { method from (line 49) | fn from(_: (StatusCode, String)) -> Self { method into_response (line 55) | fn into_response(self) -> Response { FILE: axum-macros/tests/from_request/pass/override_rejection_with_via_on_enum.rs function main (line 9) | fn main() { function handler (line 13) | async fn handler(_: MyExtractor) {} function handler_result (line 15) | async fn handler_result(_: Result) {} type MyExtractor (line 19) | enum MyExtractor {} type MyRejection (line 21) | struct MyRejection {} method from (line 24) | fn from(_: ExtensionRejection) -> Self { method into_response (line 30) | fn into_response(self) -> Response { FILE: axum-macros/tests/from_request/pass/override_rejection_with_via_on_enum_parts.rs function main (line 9) | fn main() { function handler (line 13) | async fn handler(_: MyExtractor) {} function handler_result (line 15) | async fn handler_result(_: Result) {} type MyExtractor (line 19) | enum MyExtractor {} type MyRejection (line 21) | struct MyRejection {} method from (line 24) | fn from(_: ExtensionRejection) -> Self { method into_response (line 30) | fn into_response(self) -> Response { FILE: axum-macros/tests/from_request/pass/override_rejection_with_via_on_struct.rs function main (line 10) | fn main() { type Payload (line 15) | struct Payload {} function handler (line 17) | async fn handler(_: MyJson) {} function handler_result (line 19) | async fn handler_result(_: Result, MyJsonRejection>) {} type MyJson (line 23) | struct MyJson(T); type MyJsonRejection (line 25) | struct MyJsonRejection {} method from (line 28) | fn from(_: JsonRejection) -> Self { method into_response (line 34) | fn into_response(self) -> Response { FILE: axum-macros/tests/from_request/pass/override_rejection_with_via_on_struct_parts.rs function main (line 10) | fn main() { type Payload (line 15) | struct Payload {} function handler (line 17) | async fn handler(_: MyQuery) {} function handler_result (line 19) | async fn handler_result(_: Result, MyQueryRejection>) {} type MyQuery (line 23) | struct MyQuery(T); type MyQueryRejection (line 25) | struct MyQueryRejection {} method from (line 28) | fn from(_: QueryRejection) -> Self { method into_response (line 34) | fn into_response(self) -> Response { FILE: axum-macros/tests/from_request/pass/state_cookie.rs type Extractor (line 7) | struct Extractor { type AppState (line 11) | struct AppState { method from_ref (line 16) | fn from_ref(input: &AppState) -> Self { function assert_from_request (line 21) | fn assert_from_request() function main (line 27) | fn main() {} FILE: axum-macros/tests/from_request/pass/state_enum_via.rs function main (line 8) | fn main() { type AppState (line 17) | enum AppState { method default (line 22) | fn default() -> AppState { type InnerState (line 29) | enum InnerState {} method from_ref (line 32) | fn from_ref(_: &AppState) -> Self { FILE: axum-macros/tests/from_request/pass/state_enum_via_parts.rs function main (line 8) | fn main() { type AppState (line 18) | enum AppState { method default (line 23) | fn default() -> AppState { type InnerState (line 30) | enum InnerState {} method from_ref (line 33) | fn from_ref(_: &AppState) -> Self { FILE: axum-macros/tests/from_request/pass/state_explicit.rs function main (line 8) | fn main() { type Extractor (line 16) | struct Extractor { type AppState (line 24) | struct AppState { type One (line 30) | struct One {} method from_ref (line 33) | fn from_ref(input: &AppState) -> Self { type Two (line 39) | struct Two {} method from_ref (line 42) | fn from_ref(input: &AppState) -> Self { FILE: axum-macros/tests/from_request/pass/state_explicit_parts.rs function main (line 9) | fn main() { type Extractor (line 17) | struct Extractor { type AppState (line 23) | struct AppState { type InnerState (line 28) | struct InnerState {} method from_ref (line 31) | fn from_ref(input: &AppState) -> Self { FILE: axum-macros/tests/from_request/pass/state_field_explicit.rs function main (line 8) | fn main() { type Extractor (line 16) | struct Extractor { type AppState (line 24) | struct AppState { type InnerState (line 29) | struct InnerState {} method from_ref (line 32) | fn from_ref(input: &AppState) -> Self { FILE: axum-macros/tests/from_request/pass/state_field_infer.rs function main (line 4) | fn main() { type Extractor (line 11) | struct Extractor { type AppState (line 17) | struct AppState {} FILE: axum-macros/tests/from_request/pass/state_infer.rs type Extractor (line 5) | struct Extractor { type AppState (line 10) | struct AppState {} function assert_from_request (line 12) | fn assert_from_request() function main (line 18) | fn main() {} FILE: axum-macros/tests/from_request/pass/state_infer_multiple.rs type Extractor (line 5) | struct Extractor { type AppState (line 11) | struct AppState {} function assert_from_request (line 13) | fn assert_from_request() function main (line 19) | fn main() {} FILE: axum-macros/tests/from_request/pass/state_infer_parts.rs type Extractor (line 5) | struct Extractor { type AppState (line 10) | struct AppState {} function assert_from_request (line 12) | fn assert_from_request() function main (line 18) | fn main() {} FILE: axum-macros/tests/from_request/pass/state_via.rs function main (line 8) | fn main() { type AppState (line 17) | struct AppState { type InnerState (line 23) | struct InnerState {} method from_ref (line 26) | fn from_ref(input: &AppState) -> Self { FILE: axum-macros/tests/from_request/pass/state_via_infer.rs function main (line 4) | fn main() { type AppState (line 14) | struct AppState {} FILE: axum-macros/tests/from_request/pass/state_via_parts.rs function main (line 8) | fn main() { type AppState (line 18) | struct AppState { type InnerState (line 24) | struct InnerState {} method from_ref (line 27) | fn from_ref(input: &AppState) -> Self { FILE: axum-macros/tests/from_request/pass/state_with_rejection.rs function main (line 10) | fn main() { type Extractor (line 18) | struct Extractor { type AppState (line 23) | struct AppState {} type MyRejection (line 25) | struct MyRejection {} method from (line 28) | fn from(err: Infallible) -> Self { method into_response (line 34) | fn into_response(self) -> Response { FILE: axum-macros/tests/from_request/pass/tuple.rs type Extractor (line 4) | struct Extractor(axum::http::HeaderMap, String); function assert_from_request (line 6) | fn assert_from_request() function main (line 12) | fn main() {} FILE: axum-macros/tests/from_request/pass/tuple_parts.rs type Extractor (line 4) | struct Extractor(axum::http::HeaderMap, axum::http::Method); function assert_from_request (line 6) | fn assert_from_request() function main (line 12) | fn main() {} FILE: axum-macros/tests/from_request/pass/tuple_same_type_twice.rs type Extractor (line 6) | struct Extractor(Query, axum::extract::Json); type Payload (line 9) | struct Payload {} function assert_from_request (line 11) | fn assert_from_request() function main (line 17) | fn main() {} FILE: axum-macros/tests/from_request/pass/tuple_same_type_twice_parts.rs type Extractor (line 6) | struct Extractor(Query, axum::extract::Path); type Payload (line 9) | struct Payload {} function assert_from_request (line 11) | fn assert_from_request() function main (line 17) | fn main() {} FILE: axum-macros/tests/from_request/pass/tuple_same_type_twice_via.rs type Extractor (line 7) | struct Extractor( type Payload (line 13) | struct Payload {} function assert_from_request (line 15) | fn assert_from_request() function main (line 21) | fn main() {} FILE: axum-macros/tests/from_request/pass/tuple_same_type_twice_via_parts.rs type Extractor (line 7) | struct Extractor( type Payload (line 13) | struct Payload {} function assert_from_request (line 15) | fn assert_from_request() function main (line 21) | fn main() {} FILE: axum-macros/tests/from_request/pass/tuple_via.rs type Extractor (line 5) | struct Extractor(#[from_request(via(Extension))] State); type State (line 8) | struct State; function assert_from_request (line 10) | fn assert_from_request() function main (line 16) | fn main() {} FILE: axum-macros/tests/from_request/pass/tuple_via_parts.rs type Extractor (line 5) | struct Extractor(#[from_request(via(Extension))] State); type State (line 8) | struct State; function assert_from_request (line 10) | fn assert_from_request() function main (line 16) | fn main() {} FILE: axum-macros/tests/from_request/pass/unit.rs type Extractor (line 4) | struct Extractor; function assert_from_request (line 6) | fn assert_from_request() function main (line 12) | fn main() {} FILE: axum-macros/tests/from_request/pass/unit_parts.rs type Extractor (line 4) | struct Extractor; function assert_from_request (line 6) | fn assert_from_request() function main (line 12) | fn main() {} FILE: axum-macros/tests/typed_path/fail/missing_capture.rs type MyPath (line 6) | struct MyPath { function main (line 10) | fn main() {} FILE: axum-macros/tests/typed_path/fail/missing_field.rs type MyPath (line 6) | struct MyPath {} function main (line 8) | fn main() {} FILE: axum-macros/tests/typed_path/fail/not_deserialize.rs type MyPath (line 5) | struct MyPath { function main (line 9) | fn main() {} FILE: axum-macros/tests/typed_path/fail/route_not_starting_with_slash.rs type MyPath (line 5) | struct MyPath; function main (line 7) | fn main() {} FILE: axum-macros/tests/typed_path/fail/route_not_starting_with_slash_non_empty.rs type MyPath (line 5) | struct MyPath; function main (line 7) | fn main() {} FILE: axum-macros/tests/typed_path/fail/unit_with_capture.rs type MyPath (line 6) | struct MyPath; function main (line 8) | fn main() {} FILE: axum-macros/tests/typed_path/pass/customize_rejection.rs type MyPathNamed (line 10) | struct MyPathNamed { type MyPathUnit (line 16) | struct MyPathUnit; type MyPathUnnamed (line 20) | struct MyPathUnnamed(String); type MyRejection (line 22) | struct MyRejection; method from (line 31) | fn from(_: PathRejection) -> Self { method into_response (line 25) | fn into_response(self) -> Response { method default (line 37) | fn default() -> Self { function main (line 42) | fn main() { FILE: axum-macros/tests/typed_path/pass/into_uri.rs type Named (line 7) | struct Named { type Unnamed (line 13) | struct Unnamed(u32); type Unit (line 17) | struct Unit; function main (line 19) | fn main() { FILE: axum-macros/tests/typed_path/pass/named_fields_struct.rs type MyPath (line 6) | struct MyPath { function main (line 11) | fn main() { FILE: axum-macros/tests/typed_path/pass/result_handler.rs type UsersShow (line 7) | struct UsersShow { function result_handler (line 11) | async fn result_handler(_: Result) {} type UsersIndex (line 15) | struct UsersIndex; function result_handler_unit_struct (line 17) | async fn result_handler_unit_struct(_: Result) {} function main (line 19) | fn main() { FILE: axum-macros/tests/typed_path/pass/tuple_struct.rs type Result (line 4) | pub type Result = std::result::Result; type MyPath (line 8) | struct MyPath(u32, u32); function main (line 10) | fn main() { FILE: axum-macros/tests/typed_path/pass/unit_struct.rs type MyPath (line 5) | struct MyPath; function main (line 7) | fn main() { FILE: axum-macros/tests/typed_path/pass/url_encoding.rs type Named (line 6) | struct Named { type Unnamed (line 12) | struct Unnamed(String); function main (line 14) | fn main() { FILE: axum-macros/tests/typed_path/pass/wildcards.rs type MyPath (line 6) | struct MyPath { function main (line 10) | fn main() { FILE: axum/benches/benches.rs function main (line 15) | fn main() { type AppState (line 93) | struct AppState { type Payload (line 99) | struct Payload { function benchmark (line 105) | fn benchmark(name: &'static str) -> BenchmarkBuilder { type BenchmarkBuilder (line 115) | struct BenchmarkBuilder { method run (line 138) | fn run(self, f: F) function install_rewrk (line 221) | fn install_rewrk() { function ensure_rewrk_is_installed (line 238) | fn ensure_rewrk_is_installed() { function on_ci (line 248) | fn on_ci() -> bool { FILE: axum/src/body/mod.rs function to_bytes (line 48) | pub async fn to_bytes(body: Body, limit: usize) -> Result(Box>); function from_handler (line 18) | pub(crate) fn from_handler(handler: H) -> Self function map (line 31) | pub(crate) fn map(self, f: F) -> BoxedIntoRoute function into_route (line 44) | pub(crate) fn into_route(self, state: S) -> Route { method clone (line 50) | fn clone(&self) -> Self { function fmt (line 56) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type ErasedIntoRoute (line 61) | pub(crate) trait ErasedIntoRoute: Send + Sync { method clone_box (line 62) | fn clone_box(&self) -> Box>; method into_route (line 64) | fn into_route(self: Box, state: S) -> Route; method call_with_state (line 67) | fn call_with_state(self: Box, request: Request, state: S) -> Rou... type MakeErasedHandler (line 70) | pub(crate) struct MakeErasedHandler { function clone_box (line 80) | fn clone_box(&self) -> Box> { function into_route (line 84) | fn into_route(self: Box, state: S) -> Route { function call_with_state (line 88) | fn call_with_state(self: Box, request: Request, state: S) -> Route... method clone (line 97) | fn clone(&self) -> Self { type MakeErasedRouter (line 106) | pub(crate) struct MakeErasedRouter { function clone_box (line 115) | fn clone_box(&self) -> Box> { function into_route (line 119) | fn into_route(self: Box, state: S) -> Route { function call_with_state (line 123) | fn call_with_state(self: Box, request: Request, state: S) -> Route... method clone (line 132) | fn clone(&self) -> Self { type Map (line 140) | pub(crate) struct Map { function clone_box (line 151) | fn clone_box(&self) -> Box> { function into_route (line 158) | fn into_route(self: Box, state: S) -> Route { function call_with_state (line 162) | fn call_with_state(self: Box, request: Request, state: S) -> Route... type LayerFn (line 167) | pub(crate) trait LayerFn: FnOnce(Route) -> Route + Send + ... method clone_box (line 168) | fn clone_box(&self) -> Box>; method clone_box (line 175) | fn clone_box(&self) -> Box> { FILE: axum/src/error_handling/mod.rs type HandleErrorLayer (line 23) | pub struct HandleErrorLayer { function new (line 30) | pub fn new(f: F) -> Self { method clone (line 42) | fn clone(&self) -> Self { function fmt (line 51) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Service (line 62) | type Service = HandleError; function layer (line 64) | fn layer(&self, inner: S) -> Self::Service { type HandleError (line 72) | pub struct HandleError { function new (line 80) | pub fn new(inner: S, f: F) -> Self { method clone (line 94) | fn clone(&self) -> Self { function fmt (line 107) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Response (line 126) | type Response = Response; type Error (line 127) | type Error = Infallible; type Future (line 128) | type Future = future::HandleErrorFuture; type Output (line 248) | type Output = Result; method poll (line 250) | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll) -> Poll) -> Self::Future { function traits (line 257) | fn traits() { FILE: axum/src/extension.rs type Extension (line 72) | pub struct Extension(pub T); function from_extensions (line 78) | fn from_extensions(extensions: &Extensions) -> Option { type Rejection (line 88) | type Rejection = ExtensionRejection; function from_request_parts (line 90) | async fn from_request_parts(req: &mut Parts, _state: &S) -> Result Result Response { type Service (line 144) | type Service = AddExtension; function layer (line 146) | fn layer(&self, inner: S) -> Self::Service { type AddExtension (line 164) | pub struct AddExtension { type Response (line 174) | type Response = S::Response; type Error (line 175) | type Error = S::Error; type Future (line 176) | type Future = S::Future; function poll_ready (line 179) | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll) -> Self::Future { type Foo (line 198) | struct Foo(String); type Bar (line 201) | struct Bar(String); function extension_extractor (line 204) | async fn extension_extractor() { FILE: axum/src/extract/connect_info.rs type IntoMakeServiceWithConnectInfo (line 28) | pub struct IntoMakeServiceWithConnectInfo { function new (line 34) | pub(crate) fn new(svc: S) -> Self { function fmt (line 46) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method clone (line 57) | fn clone(&self) -> Self { type Connected (line 74) | pub trait Connected: Clone + Send + Sync + 'static { method connect_info (line 76) | fn connect_info(stream: T) -> Self; constant _ (line 80) | const _: () = { method connect_info (line 94) | fn connect_info(remote_addr: Self) -> Self { type Response (line 104) | type Response = AddExtension>; type Error (line 105) | type Error = Infallible; type Future (line 106) | type Future = ResponseFuture; function poll_ready (line 109) | fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll Self::Future { type ConnectInfo (line 136) | pub struct ConnectInfo(pub T); type Rejection (line 143) | type Rejection = as FromRequestParts>::Rejection; function from_request_parts (line 145) | async fn from_request_parts(parts: &mut Parts, state: &S) -> Result(pub T); type Service (line 212) | type Service = as Layer>::Service; function layer (line 214) | fn layer(&self, inner: S) -> Self::Service { function into_make_service_traits (line 229) | fn into_make_service_traits() { function connected_traits (line 236) | fn connected_traits() { function socket_addr (line 308) | async fn socket_addr() { function custom (line 336) | async fn custom() { function mock_connect_info (line 377) | async fn mock_connect_info() { function both_mock_and_real_connect_info (line 394) | async fn both_mock_and_real_connect_info() { FILE: axum/src/extract/matched_path.rs type MatchedPath (line 57) | pub struct MatchedPath(pub(crate) Arc); method as_str (line 62) | pub fn as_str(&self) -> &str { type Rejection (line 71) | type Rejection = MatchedPathRejection; method from_request_parts (line 73) | async fn from_request_parts(parts: &mut Parts, _state: &S) -> Result); function set_matched_path_for_request (line 101) | pub(crate) fn set_matched_path_for_request( function append_nested_matched_path (line 125) | fn append_nested_matched_path(matched_path: &Arc, extensions: &http... function extracting_on_handler (line 156) | async fn extracting_on_handler() { function extracting_on_handler_in_nested_router (line 169) | async fn extracting_on_handler_in_nested_router() { function extracting_on_handler_in_deeply_nested_router (line 185) | async fn extracting_on_handler_in_deeply_nested_router() { function cannot_extract_nested_matched_path_in_middleware (line 204) | async fn cannot_extract_nested_matched_path_in_middleware() { function can_extract_nested_matched_path_in_middleware_using_nest (line 224) | async fn can_extract_nested_matched_path_in_middleware_using_nest() { function cannot_extract_nested_matched_path_in_middleware_via_extension (line 244) | async fn cannot_extract_nested_matched_path_in_middleware_via_extension() { function can_extract_nested_matched_path_in_middleware_via_extension_using_nest (line 261) | async fn can_extract_nested_matched_path_in_middleware_via_extension_usi... function can_extract_nested_matched_path_in_middleware_on_nested_router (line 278) | async fn can_extract_nested_matched_path_in_middleware_on_nested_router() { function can_extract_nested_matched_path_in_middleware_on_nested_router_via_extension (line 298) | async fn can_extract_nested_matched_path_in_middleware_on_nested_router_... function extracting_on_nested_handler (line 319) | async fn extracting_on_nested_handler() { function doesnt_panic_if_router_called_from_wildcard_route (line 334) | async fn doesnt_panic_if_router_called_from_wildcard_route() { function cant_extract_in_fallback (line 353) | async fn cant_extract_in_fallback() { function matching_colon (line 368) | async fn matching_colon() { function matching_asterisk (line 388) | async fn matching_asterisk() { FILE: axum/src/extract/mod.rs function has_content_type (line 83) | pub(super) fn has_content_type(headers: &HeaderMap, expected_content_typ... function consume_body (line 100) | async fn consume_body() { FILE: axum/src/extract/multipart.rs type Multipart (line 64) | pub struct Multipart { type Rejection (line 72) | type Rejection = MultipartRejection; method from_request (line 74) | async fn from_request(req: Request, _state: &S) -> Result Result... method next_field (line 108) | pub async fn next_field(&mut self) -> Result>, Multip... type Field (line 128) | pub struct Field<'a> { type Item (line 136) | type Item = Result; method poll_next (line 138) | fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll Option<&str> { function file_name (line 158) | pub fn file_name(&self) -> Option<&str> { function content_type (line 164) | pub fn content_type(&self) -> Option<&str> { function headers (line 170) | pub fn headers(&self) -> &HeaderMap { function bytes (line 175) | pub async fn bytes(self) -> Result { function text (line 183) | pub async fn text(self) -> Result { function chunk (line 225) | pub async fn chunk(&mut self) -> Result, MultipartError> { type MultipartError (line 235) | pub struct MultipartError { method from_multer (line 240) | fn from_multer(multer: multer::Error) -> Self { method body_text (line 246) | pub fn body_text(&self) -> String { method status (line 256) | pub fn status(&self) -> http::StatusCode { method fmt (line 313) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method source (line 319) | fn source(&self) -> Option<&(dyn std::error::Error + 'static)> { function status_code_from_multer_error (line 261) | fn status_code_from_multer_error(err: &multer::Error) -> StatusCode { function is_body_limit_error (line 296) | fn is_body_limit_error(err: &multer::Error) -> bool { method into_response (line 325) | fn into_response(self) -> Response { function content_type_str (line 336) | fn content_type_str(headers: &HeaderMap) -> Option<&str> { function content_type_with_encoding (line 365) | async fn content_type_with_encoding() { function _multipart_from_request_limited (line 401) | fn _multipart_from_request_limited() { function body_too_large (line 409) | async fn body_too_large() { function optional_multipart (line 434) | async fn optional_multipart() { FILE: axum/src/extract/nested_path.rs type NestedPath (line 40) | pub struct NestedPath(Arc); method as_str (line 45) | pub fn as_str(&self) -> &str { type Rejection (line 55) | type Rejection = NestedPathRejection; method from_request_parts (line 57) | async fn from_request_parts(parts: &mut Parts, _state: &S) -> Result { function layer (line 72) | pub(crate) fn layer(path: &str) -> impl Layer + Clone { type Response (line 85) | type Response = S::Response; type Error (line 86) | type Error = S::Error; type Future (line 87) | type Future = S::Future; function poll_ready (line 90) | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll) -> Self::Future { function one_level_of_nesting (line 125) | async fn one_level_of_nesting() { function one_level_of_nesting_with_trailing_slash (line 143) | async fn one_level_of_nesting_with_trailing_slash() { function two_levels_of_nesting (line 161) | async fn two_levels_of_nesting() { function two_levels_of_nesting_with_trailing_slash (line 179) | async fn two_levels_of_nesting_with_trailing_slash() { function in_fallbacks (line 197) | async fn in_fallbacks() { function in_middleware (line 212) | async fn in_middleware() { FILE: axum/src/extract/original_uri.rs type OriginalUri (line 68) | pub struct OriginalUri(pub Uri); type Rejection (line 74) | type Rejection = Infallible; method from_request_parts (line 76) | async fn from_request_parts(parts: &mut Parts, state: &S) -> Result { function new (line 51) | pub(crate) fn new(url_params: &'de [(Arc, PercentDecodedStr)]) -> S... type Error (line 57) | type Error = PathDeserializationError; function deserialize_any (line 81) | fn deserialize_any(self, v: V) -> Result function deserialize_str (line 88) | fn deserialize_str(self, visitor: V) -> Result function deserialize_unit (line 114) | fn deserialize_unit(self, visitor: V) -> Result function deserialize_unit_struct (line 121) | fn deserialize_unit_struct( function deserialize_newtype_struct (line 132) | fn deserialize_newtype_struct( function deserialize_seq (line 143) | fn deserialize_seq(self, visitor: V) -> Result function deserialize_tuple (line 153) | fn deserialize_tuple(self, len: usize, visitor: V) -> Result( function deserialize_map (line 188) | fn deserialize_map(self, visitor: V) -> Result function deserialize_struct (line 199) | fn deserialize_struct( function deserialize_enum (line 211) | fn deserialize_enum( type MapDeserializer (line 232) | struct MapDeserializer<'de> { type Error (line 239) | type Error = PathDeserializationError; function next_key_seed (line 241) | fn next_key_seed(&mut self, seed: K) -> Result, Self... function next_value_seed (line 256) | fn next_value_seed(&mut self, seed: V) -> Result type KeyDeserializer (line 270) | struct KeyDeserializer<'de> { type Error (line 286) | type Error = PathDeserializationError; function deserialize_any (line 292) | fn deserialize_any(self, _visitor: V) -> Result type ValueDeserializer (line 340) | struct ValueDeserializer<'de> { type Error (line 346) | type Error = PathDeserializationError; function deserialize_any (line 368) | fn deserialize_any(self, v: V) -> Result function deserialize_str (line 375) | fn deserialize_str(self, visitor: V) -> Result function deserialize_bytes (line 394) | fn deserialize_bytes(self, visitor: V) -> Result function deserialize_option (line 401) | fn deserialize_option(self, visitor: V) -> Result function deserialize_unit (line 408) | fn deserialize_unit(self, visitor: V) -> Result function deserialize_unit_struct (line 415) | fn deserialize_unit_struct( function deserialize_newtype_struct (line 426) | fn deserialize_newtype_struct( function deserialize_tuple (line 437) | fn deserialize_tuple(self, len: usize, visitor: V) -> Result(self, _visitor: V) -> Result function deserialize_tuple_struct (line 498) | fn deserialize_tuple_struct( function deserialize_struct (line 512) | fn deserialize_struct( function deserialize_enum (line 526) | fn deserialize_enum( function deserialize_ignored_any (line 538) | fn deserialize_ignored_any(self, visitor: V) -> Result { type Error (line 551) | type Error = PathDeserializationError; type Variant (line 552) | type Variant = UnitVariant; function variant_seed (line 554) | fn variant_seed(self, seed: V) -> Result<(V::Value, Self::Variant), S... type UnitVariant (line 565) | struct UnitVariant; type Error (line 568) | type Error = PathDeserializationError; method unit_variant (line 570) | fn unit_variant(self) -> Result<(), Self::Error> { method newtype_variant_seed (line 574) | fn newtype_variant_seed(self, _seed: T) -> Result(self, _len: usize, _visitor: V) -> Result( type SeqDeserializer (line 606) | struct SeqDeserializer<'de> { type Error (line 612) | type Error = PathDeserializationError; function next_element_seed (line 614) | fn next_element_seed(&mut self, seed: T) -> Result, ... type KeyOrIdx (line 634) | enum KeyOrIdx<'de> { function key (line 640) | fn key(&self) -> &'de str { type MyEnum (line 654) | enum MyEnum { type Struct (line 662) | struct Struct { function create_url_params (line 668) | fn create_url_params(values: I) -> Vec<(Arc, PercentDecode... function test_parse_single_value (line 692) | fn test_parse_single_value() { function test_parse_seq (line 733) | fn test_parse_seq() { function test_parse_seq_tuple_string_string (line 761) | fn test_parse_seq_tuple_string_string() { function test_parse_seq_tuple_string_parse (line 773) | fn test_parse_seq_tuple_string_parse() { function test_parse_struct (line 782) | fn test_parse_struct() { function test_parse_struct_ignoring_additional_fields (line 795) | fn test_parse_struct_ignoring_additional_fields() { function test_parse_map (line 813) | fn test_parse_map() { function test_parse_tuple_too_many_fields (line 839) | fn test_parse_tuple_too_many_fields() { function test_wrong_number_of_parameters_error (line 851) | fn test_wrong_number_of_parameters_error() { function test_parse_error_at_key_error (line 863) | fn test_parse_error_at_key_error() { function test_parse_error_at_key_error_multiple (line 881) | fn test_parse_error_at_key_error_multiple() { function test_parse_error_at_index_error (line 900) | fn test_parse_error_at_index_error() { function test_parse_error_error (line 913) | fn test_parse_error_error() { function test_unsupported_type_error_nested_data_structure (line 925) | fn test_unsupported_type_error_nested_data_structure() { function test_parse_seq_tuple_unsupported_key_type (line 936) | fn test_parse_seq_tuple_unsupported_key_type() { function test_parse_seq_wrong_tuple_length (line 945) | fn test_parse_seq_wrong_tuple_length() { function test_parse_seq_seq (line 956) | fn test_parse_seq_seq() { function test_deserialize_key_value (line 967) | fn test_deserialize_key_value() { FILE: axum/src/extract/path/mod.rs type Path (line 153) | pub struct Path(pub T); type Rejection (line 162) | type Rejection = PathRejection; function from_request_parts (line 164) | async fn from_request_parts(parts: &mut Parts, _state: &S) -> Result Self { method wrong_number_of_parameters (line 227) | pub(super) fn wrong_number_of_parameters() -> WrongNumberOfParameters<... method unsupported_type (line 232) | pub(super) fn unsupported_type(name: &'static str) -> Self { method custom (line 259) | fn custom(msg: T) -> Self method fmt (line 270) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type WrongNumberOfParameters (line 237) | pub(super) struct WrongNumberOfParameters { function got (line 243) | pub(super) fn got(self, got: G2) -> WrongNumberOfParameters { function expected (line 249) | pub(super) fn expected(self, expected: usize) -> PathDeserializationError { type ErrorKind (line 285) | pub enum ErrorKind { method fmt (line 358) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type FailedToDeserializePathParams (line 407) | pub struct FailedToDeserializePathParams(PathDeserializationError); method kind (line 411) | pub fn kind(&self) -> &ErrorKind { method into_kind (line 416) | pub fn into_kind(self) -> ErrorKind { method body_text (line 422) | pub fn body_text(&self) -> String { method status (line 438) | pub fn status(&self) -> StatusCode { method fmt (line 466) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method into_response (line 454) | fn into_response(self) -> Response { type RawPathParams (line 501) | pub struct RawPathParams(Vec<(Arc, PercentDecodedStr)>); type Rejection (line 507) | type Rejection = RawPathParamsRejection; method from_request_parts (line 509) | async fn from_request_parts(parts: &mut Parts, _state: &S) -> Result RawPathParamsIter<'_> { type Item (line 536) | type Item = (&'a str, &'a str); type IntoIter (line 537) | type IntoIter = RawPathParamsIter<'a>; method into_iter (line 539) | fn into_iter(self) -> Self::IntoIter { type RawPathParamsIter (line 548) | pub struct RawPathParamsIter<'a>(std::slice::Iter<'a, (Arc, Percent... type Item (line 551) | type Item = (&'a str, &'a str); method next (line 553) | fn next(&mut self) -> Option { type InvalidUtf8InPathParam (line 562) | pub struct InvalidUtf8InPathParam { method body_text (line 569) | pub fn body_text(&self) -> String { method status (line 575) | pub fn status(&self) -> StatusCode { method fmt (line 581) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method into_response (line 589) | fn into_response(self) -> Response { function extracting_url_params (line 608) | async fn extracting_url_params() { function extracting_url_params_multiple_times (line 629) | async fn extracting_url_params_multiple_times() { function percent_decoding (line 639) | async fn percent_decoding() { function supports_128_bit_numbers (line 653) | async fn supports_128_bit_numbers() { function wildcard (line 674) | async fn wildcard() { function captures_dont_match_empty_path (line 697) | async fn captures_dont_match_empty_path() { function captures_match_empty_inner_segments (line 710) | async fn captures_match_empty_inner_segments() { function captures_match_empty_inner_segments_near_end (line 726) | async fn captures_match_empty_inner_segments_near_end() { function captures_match_empty_trailing_segment (line 745) | async fn captures_match_empty_trailing_segment() { function str_reference_deserialize (line 767) | async fn str_reference_deserialize() { function two_path_extractors (line 795) | async fn two_path_extractors() { function tuple_param_matches_exactly (line 810) | async fn tuple_param_matches_exactly() { function deserialize_into_vec_of_tuples (line 840) | async fn deserialize_into_vec_of_tuples() { function type_that_uses_deserialize_any (line 861) | async fn type_that_uses_deserialize_any() { function wrong_number_of_parameters_json (line 939) | async fn wrong_number_of_parameters_json() { function raw_path_params (line 962) | async fn raw_path_params() { function deserialize_error_single_value (line 981) | async fn deserialize_error_single_value() { function deserialize_error_multi_value (line 999) | async fn deserialize_error_multi_value() { function regression_3038 (line 1020) | async fn regression_3038() { FILE: axum/src/extract/query.rs type Query (line 41) | pub struct Query(pub T); type Rejection (line 48) | type Rejection = QueryRejection; function from_request_parts (line 50) | async fn from_request_parts(parts: &mut Parts, _state: &S) -> Result Result { function check (line 100) | async fn check(uri: impl AsRef, value: T) function test_query (line 112) | async fn test_query() { function correct_rejection_status_code (line 148) | async fn correct_rejection_status_code() { function test_try_from_uri (line 169) | fn test_try_from_uri() { function test_try_from_uri_with_invalid_query (line 182) | fn test_try_from_uri_with_invalid_query() { FILE: axum/src/extract/raw_form.rs type RawForm (line 30) | pub struct RawForm(pub Bytes); type Rejection (line 36) | type Rejection = RawFormRejection; method from_request (line 38) | async fn from_request(req: Request, state: &S) -> Result); type Rejection (line 31) | type Rejection = Infallible; method from_request_parts (line 33) | async fn from_request_parts(parts: &mut Parts, _state: &S) -> Result(pub S); type Rejection (line 303) | type Rejection = Infallible; function from_request_parts (line 305) | async fn from_request_parts( type Target (line 315) | type Target = S; method deref (line 317) | fn deref(&self) -> &Self::Target { method deref_mut (line 323) | fn deref_mut(&mut self) -> &mut Self::Target { FILE: axum/src/extract/ws.rs type WebSocketUpgrade (line 134) | pub struct WebSocketUpgrade { function fmt (line 146) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { function read_buffer_size (line 158) | pub fn read_buffer_size(mut self, size: usize) -> Self { function write_buffer_size (line 172) | pub fn write_buffer_size(mut self, size: usize) -> Self { function max_write_buffer_size (line 188) | pub fn max_write_buffer_size(mut self, max: usize) -> Self { function max_message_size (line 194) | pub fn max_message_size(mut self, max: usize) -> Self { function max_frame_size (line 200) | pub fn max_frame_size(mut self, max: usize) -> Self { function accept_unmasked_frames (line 206) | pub fn accept_unmasked_frames(mut self, accept: bool) -> Self { function protocols (line 241) | pub fn protocols(mut self, protocols: I) -> Self function requested_protocols (line 278) | pub fn requested_protocols(&self) -> impl Iterator { function set_selected_protocol (line 292) | pub fn set_selected_protocol(&mut self, protocol: HeaderValue) { function selected_protocol (line 301) | pub fn selected_protocol(&self) -> Option<&HeaderValue> { function on_failed_upgrade (line 329) | pub fn on_failed_upgrade(self, callback: C) -> WebSocketUpgrade function on_upgrade (line 346) | pub fn on_upgrade(self, callback: C) -> Response type OnFailedUpgrade (line 416) | pub trait OnFailedUpgrade: Send + 'static { method call (line 418) | fn call(self, error: Error); method call (line 425) | fn call(self, error: Error) { method call (line 439) | fn call(self, _error: Error) {} type DefaultOnFailedUpgrade (line 435) | pub struct DefaultOnFailedUpgrade; type Rejection (line 446) | type Rejection = WebSocketUpgradeRejection; function from_request_parts (line 448) | async fn from_request_parts(parts: &mut Parts, _state: &S) -> Result Option> { method send (line 557) | pub async fn send(&mut self, msg: Message) -> Result<(), Error> { method protocol (line 565) | pub fn protocol(&self) -> Option<&HeaderValue> { type Error (line 596) | type Error = Error; method poll_ready (line 598) | fn poll_ready(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<... method start_send (line 602) | fn start_send(mut self: Pin<&mut Self>, item: Message) -> Result<(), S... method poll_flush (line 608) | fn poll_flush(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<... method poll_close (line 612) | fn poll_close(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<... method is_terminated (line 572) | fn is_terminated(&self) -> bool { type Item (line 578) | type Item = Result; method poll_next (line 580) | fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll Self { method as_str (line 633) | pub fn as_str(&self) -> &str { method into_tungstenite (line 637) | fn into_tungstenite(self) -> ts::Utf8Bytes { type Target (line 643) | type Target = str; method deref (line 658) | fn deref(&self) -> &Self::Target { method fmt (line 665) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Error (line 671) | type Error = std::str::Utf8Error; method try_from (line 674) | fn try_from(bytes: Bytes) -> Result { type Error (line 680) | type Error = std::str::Utf8Error; method try_from (line 683) | fn try_from(v: Vec) -> Result { method from (line 690) | fn from(s: String) -> Self { method from (line 697) | fn from(s: &str) -> Self { method from (line 704) | fn from(s: &String) -> Self { method eq (line 728) | fn eq(&self, other: &T) -> bool { method from (line 711) | fn from(Utf8Bytes(bytes): Utf8Bytes) -> Self { type CloseCode (line 734) | pub type CloseCode = u16; type CloseFrame (line 738) | pub struct CloseFrame { type Message (line 769) | pub enum Message { method into_tungstenite (line 812) | fn into_tungstenite(self) -> ts::Message { method from_tungstenite (line 826) | fn from_tungstenite(message: ts::Message) -> Option { method into_data (line 844) | pub fn into_data(self) -> Bytes { method into_text (line 854) | pub fn into_text(self) -> Result { method to_text (line 867) | pub fn to_text(&self) -> Result<&str, Error> { method text (line 879) | pub fn text(string: S) -> Self method binary (line 887) | pub fn binary(bin: B) -> Self method from (line 896) | fn from(string: String) -> Self { method from (line 902) | fn from(string: &'s str) -> Self { method from (line 908) | fn from(data: &'b [u8]) -> Self { method from (line 914) | fn from(data: Bytes) -> Self { method from (line 920) | fn from(data: Vec) -> Self { function from (line 926) | fn from(msg: Message) -> Self { function sign (line 931) | fn sign(key: &[u8]) -> HeaderValue { constant NORMAL (line 1035) | pub const NORMAL: u16 = 1000; constant AWAY (line 1039) | pub const AWAY: u16 = 1001; constant PROTOCOL (line 1042) | pub const PROTOCOL: u16 = 1002; constant UNSUPPORTED (line 1048) | pub const UNSUPPORTED: u16 = 1003; constant STATUS (line 1051) | pub const STATUS: u16 = 1005; constant ABNORMAL (line 1054) | pub const ABNORMAL: u16 = 1006; constant INVALID (line 1060) | pub const INVALID: u16 = 1007; constant POLICY (line 1068) | pub const POLICY: u16 = 1008; constant SIZE (line 1072) | pub const SIZE: u16 = 1009; constant EXTENSION (line 1082) | pub const EXTENSION: u16 = 1010; constant ERROR (line 1086) | pub const ERROR: u16 = 1011; constant RESTART (line 1089) | pub const RESTART: u16 = 1012; constant AGAIN (line 1094) | pub const AGAIN: u16 = 1013; function rejects_http_1_0_requests (line 1112) | async fn rejects_http_1_0_requests() { function default_on_failed_upgrade (line 1138) | fn default_on_failed_upgrade() { function on_failed_upgrade (line 1146) | fn on_failed_upgrade() { function integration_test (line 1155) | async fn integration_test() { function http2 (line 1166) | async fn http2() { function echo_app (line 1207) | fn echo_app() -> Router { constant TEST_ECHO_APP_REQ_SUBPROTO (line 1234) | const TEST_ECHO_APP_REQ_SUBPROTO: &str = "echo3, echo"; function test_echo_app (line 1235) | async fn test_echo_app( FILE: axum/src/form.rs type Form (line 71) | pub struct Form(pub T); type Rejection (line 78) | type Rejection = FormRejection; function from_request (line 80) | async fn from_request(req: Request, _state: &S) -> Result Response { type Pagination (line 150) | struct Pagination { function check_query (line 155) | async fn check_query(uri: impl ... function check_body (line 163) | async fn check_body... function test_form_query (line 174) | async fn test_form_query() { function test_form_body (line 204) | async fn test_form_body() { function test_incorrect_content_type (line 225) | async fn test_incorrect_content_type() { function deserialize_error_status_codes (line 247) | async fn deserialize_error_status_codes() { FILE: axum/src/handler/future.rs function new (line 35) | pub(super) fn new( type Output (line 46) | type Output = Response; method poll (line 49) | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> std::task::Poll: Clone + Send + Sync + Sized + 'static { method call (line 153) | fn call(self, req: Request, state: S) -> Self::Future; method layer (line 189) | fn layer(self, layer: L) -> Layered method with_state (line 202) | fn with_state(self, state: S) -> HandlerService { type Future (line 214) | type Future = Pin + Send>>; method call (line 216) | fn call(self, _req: Request, _state: S) -> Self::Future { type IntoResponseHandler (line 267) | pub enum IntoResponseHandler {} type Future (line 275) | type Future = std::future::Ready; method call (line 277) | fn call(self, _req: Request, _state: S) -> Self::Future { type Layered (line 285) | pub struct Layered { function fmt (line 295) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method clone (line 307) | fn clone(&self) -> Self { type Future (line 327) | type Future = future::LayeredFuture; function call (line 329) | fn call(self, req: Request, state: S) -> Self::Future { type HandlerWithoutStateExt (line 357) | pub trait HandlerWithoutStateExt: Handler { method into_service (line 359) | fn into_service(self) -> HandlerService; method into_make_service (line 366) | fn into_make_service(self) -> IntoMakeService( method into_service (line 384) | fn into_service(self) -> HandlerService { method into_make_service (line 388) | fn into_make_service(self) -> IntoMakeService( function handler_into_service (line 413) | async fn handler_into_service() { function with_layer_that_changes_request_body_and_state (line 426) | async fn with_layer_that_changes_request_body_and_state() { FILE: axum/src/handler/service.rs type HandlerService (line 22) | pub struct HandlerService { function state (line 30) | pub fn state(&self) -> &S { function into_make_service (line 63) | pub fn into_make_service(self) -> IntoMakeService { function into_make_service_with_connect_info (line 104) | pub fn into_make_service_with_connect_info(self) -> IntoMakeServiceWi... function traits (line 110) | fn traits() { function new (line 117) | pub(super) fn new(handler: H, state: S) -> Self { function fmt (line 127) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method clone (line 137) | fn clone(&self) -> Self { type Response (line 153) | type Response = Response; type Error (line 154) | type Error = Infallible; type Future (line 155) | type Future = super::future::IntoServiceFuture; function poll_ready (line 158) | fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll) -> Self::Future { constant _ (line 180) | const _: () = { FILE: axum/src/json.rs type Json (line 97) | pub struct Json(pub T); type Rejection (line 104) | type Rejection = JsonRejection; function from_request (line 106) | async fn from_request(req: Request, state: &S) -> Result Result, S... function json_content_type (line 138) | fn json_content_type(headers: &HeaderMap) -> bool { function from (line 152) | fn from(inner: T) -> Self { function from_bytes (line 164) | pub fn from_bytes(bytes: &[u8]) -> Result { method into_response (line 201) | fn into_response(self) -> Response { function deserialize_body (line 242) | async fn deserialize_body() { function consume_body_to_json_requires_json_content_type (line 258) | async fn consume_body_to_json_requires_json_content_type() { function json_content_types (line 275) | async fn json_content_types() { function invalid_json_syntax (line 298) | async fn invalid_json_syntax() { function extra_chars_after_valid_json_syntax (line 312) | async fn extra_chars_after_valid_json_syntax() { type Foo (line 336) | struct Foo { type Bar (line 344) | struct Bar { function invalid_json_data (line 352) | async fn invalid_json_data() { FILE: axum/src/middleware/from_extractor.rs function from_extractor (line 89) | pub fn from_extractor() -> FromExtractorLayer { function from_extractor_with_state (line 96) | pub fn from_extractor_with_state(state: S) -> FromExtractorLayer { method clone (line 119) | fn clone(&self) -> Self { function fmt (line 131) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Service (line 143) | type Service = FromExtractor; function layer (line 145) | fn layer(&self, inner: T) -> Self::Service { type FromExtractor (line 157) | pub struct FromExtractor { function traits (line 164) | fn traits() { method clone (line 175) | fn clone(&self) -> Self { function fmt (line 189) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Response (line 206) | type Response = Response; type Error (line 207) | type Error = T::Error; type Future (line 208) | type Future = ResponseFuture; type Output (line 268) | type Output = Result; method poll (line 270) | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll) -> Poll) -> Self::Future { function test_from_extractor (line 311) | async fn test_from_extractor() { function works_with_request_body_limit (line 365) | fn works_with_request_body_limit() { FILE: axum/src/middleware/from_fn.rs function from_fn (line 114) | pub fn from_fn(f: F) -> FromFnLayer { function from_fn_with_state (line 164) | pub fn from_fn_with_state(state: S, f: F) -> FromFnLayer { method clone (line 189) | fn clone(&self) -> Self { type Service (line 203) | type Service = FromFn; function layer (line 205) | fn layer(&self, inner: I) -> Self::Service { function fmt (line 219) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type FromFn (line 231) | pub struct FromFn { method clone (line 244) | fn clone(&self) -> Self { function fmt (line 327) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Next (line 338) | pub struct Next { method run (line 344) | pub async fn run(mut self, req: Request) -> Response { type Response (line 353) | type Response = Response; type Error (line 354) | type Error = Infallible; type Future (line 355) | type Future = Pin) -> Poll Self::Future { type ResponseFuture (line 367) | pub struct ResponseFuture { method fmt (line 380) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Output (line 372) | type Output = Result; method poll (line 374) | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll(f: F) -> MapRequestLayer { function map_request_with_state (line 159) | pub fn map_request_with_state(state: S, f: F) -> MapRequestLaye... type MapRequestLayer (line 171) | pub struct MapRequestLayer { method clone (line 182) | fn clone(&self) -> Self { type Service (line 196) | type Service = MapRequest; function layer (line 198) | fn layer(&self, inner: I) -> Self::Service { function fmt (line 212) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type MapRequest (line 224) | pub struct MapRequest { method clone (line 237) | fn clone(&self) -> Self { function fmt (line 327) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type ResponseFuture (line 337) | pub struct ResponseFuture { method fmt (line 350) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Output (line 342) | type Output = Result; method poll (line 344) | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll {} type IntoMapRequestResult (line 367) | pub trait IntoMapRequestResult: private::Sealed { method into_map_request_result (line 370) | fn into_map_request_result(self) -> Result, Response>; function into_map_request_result (line 377) | fn into_map_request_result(self) -> Result, Response> { function into_map_request_result (line 383) | fn into_map_request_result(self) -> Result { function works (line 395) | async fn works() { function works_for_short_circutting (line 420) | async fn works_for_short_circutting() { FILE: axum/src/middleware/map_response.rs function map_response (line 99) | pub fn map_response(f: F) -> MapResponseLayer { function map_response_with_state (line 141) | pub fn map_response_with_state(state: S, f: F) -> MapResponseLa... type MapResponseLayer (line 153) | pub struct MapResponseLayer { method clone (line 164) | fn clone(&self) -> Self { type Service (line 178) | type Service = MapResponse; function layer (line 180) | fn layer(&self, inner: I) -> Self::Service { function fmt (line 194) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type MapResponse (line 206) | pub struct MapResponse { method clone (line 219) | fn clone(&self) -> Self { function fmt (line 315) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type ResponseFuture (line 325) | pub struct ResponseFuture { method fmt (line 338) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Output (line 330) | type Output = Result; method poll (line 332) | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll; method layer (line 23) | fn layer(&self, inner: S) -> Self::Service { type ResponseAxumBody (line 30) | pub struct ResponseAxumBody(S); type Response (line 38) | type Response = Response; type Error (line 40) | type Error = S::Error; type Future (line 42) | type Future = ResponseAxumBodyFuture; type Output (line 69) | type Output = Result, E>; method poll (line 71) | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll) -> Poll Self::Future { FILE: axum/src/response/mod.rs type Html (line 37) | pub struct Html(pub T); method into_response (line 43) | fn into_response(self) -> Response { function from (line 56) | fn from(inner: T) -> Self { type NoContent (line 78) | pub struct NoContent; method into_response (line 81) | fn into_response(self) -> Response { function impl_trait_result_works (line 102) | fn impl_trait_result_works() { function tuple_responses (line 136) | fn tuple_responses() { function status_code_tuple_doesnt_override_error (line 258) | fn status_code_tuple_doesnt_override_error() { function into_response_parts_failing_sets_extension (line 392) | fn into_response_parts_failing_sets_extension() { function doenst_override_status_code_when_using_into_response_failed_at_same_level (line 438) | fn doenst_override_status_code_when_using_into_response_failed_at_same_l... function force_overriding_status_code (line 474) | fn force_overriding_status_code() { function status_code_tuple_doesnt_override_error_json (line 509) | async fn status_code_tuple_doesnt_override_error_json() { function no_content (line 539) | fn no_content() { FILE: axum/src/response/redirect.rs type Redirect (line 22) | pub struct Redirect { method to (line 37) | pub fn to(uri: impl Into) -> Self { method temporary (line 47) | pub fn temporary(uri: impl Into) -> Self { method permanent (line 54) | pub fn permanent(uri: impl Into) -> Self { method status_code (line 60) | pub fn status_code(&self) -> StatusCode { method location (line 66) | pub fn location(&self) -> &str { method with_status_code (line 74) | fn with_status_code(status_code: StatusCode, uri: String) -> Self { method into_response (line 88) | fn into_response(self) -> Response { constant EXAMPLE_URL (line 102) | const EXAMPLE_URL: &str = "https://example.com"; function correct_status (line 107) | fn correct_status() { function correct_location (line 125) | fn correct_location() { function test_internal_error (line 132) | fn test_internal_error() { FILE: axum/src/response/sse.rs type Sse (line 54) | pub struct Sse { function new (line 63) | pub fn new(stream: S) -> Self function keep_alive (line 75) | pub fn keep_alive(self, keep_alive: KeepAlive) -> Sse> { function fmt (line 83) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method into_response (line 95) | fn into_response(self) -> Response { type Data (line 120) | type Data = Bytes; type Error (line 121) | type Error = E; method poll_frame (line 123) | fn poll_frame( type Buffer (line 147) | enum Buffer { method as_mut (line 157) | fn as_mut(&mut self) -> &mut BytesMut { type Event (line 174) | pub struct Event { constant DEFAULT_KEEP_ALIVE (line 202) | pub const DEFAULT_KEEP_ALIVE: Self = Self::finalized(Bytes::from_stati... method finalized (line 204) | const fn finalized(bytes: Bytes) -> Self { method into_data_writer (line 217) | pub fn into_data_writer(self) -> EventDataWriter { method data (line 237) | pub fn data(self, data: T) -> Self method json_data (line 256) | pub fn json_data(self, data: T) -> Result method comment (line 289) | pub fn comment(mut self, comment: T) -> Self method event (line 311) | pub fn event(mut self, event: T) -> Self method retry (line 334) | pub fn retry(mut self, duration: Duration) -> Self { method id (line 378) | pub fn id(mut self, id: T) -> Self method field (line 398) | fn field(&mut self, name: &str, value: impl AsRef<[u8]>) { method finalize (line 414) | fn finalize(self) -> Bytes { type EventDataWriter (line 191) | pub struct EventDataWriter { method into_event (line 430) | pub fn into_event(self) -> Event { method write_buf (line 442) | fn write_buf(&mut self, buf: &[u8]) -> usize { method write_str (line 473) | fn write_str(&mut self, s: &str) -> fmt::Result { method default (line 480) | fn default() -> Self { type EventFlags (line 489) | struct EventFlags(u8); constant HAS_DATA (line 492) | const HAS_DATA: Self = Self::from_bits(0b0001); constant HAS_EVENT (line 493) | const HAS_EVENT: Self = Self::from_bits(0b0010); constant HAS_RETRY (line 494) | const HAS_RETRY: Self = Self::from_bits(0b0100); constant HAS_ID (line 495) | const HAS_ID: Self = Self::from_bits(0b1000); method bits (line 497) | const fn bits(self) -> u8 { method from_bits (line 501) | const fn from_bits(bits: u8) -> Self { method contains (line 505) | const fn contains(self, other: Self) -> bool { method insert (line 509) | fn insert(&mut self, other: Self) { type KeepAlive (line 518) | pub struct KeepAlive { method new (line 525) | pub fn new() -> Self { method interval (line 535) | pub fn interval(mut self, time: Duration) -> Self { method text (line 548) | pub fn text(self, text: I) -> Self method event (line 563) | pub fn event(mut self, event: Event) -> Self { method default (line 570) | fn default() -> Self { function new (line 590) | fn new(keep_alive: KeepAlive, inner: S) -> Self { function reset (line 598) | fn reset(self: Pin<&mut Self>) { type Item (line 610) | type Item = Result; method poll_next (line 612) | fn poll_next(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll HashMap { FILE: axum/src/routing/into_make_service.rs type IntoMakeService (line 12) | pub struct IntoMakeService { function new (line 17) | pub(crate) fn new(svc: S) -> Self { type Response (line 26) | type Response = S; type Error (line 27) | type Error = Infallible; type Future (line 28) | type Future = IntoMakeServiceFuture; function poll_ready (line 31) | fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll Self::Future { function traits (line 51) | fn traits() { FILE: axum/src/routing/method_filter.rs type MethodFilter (line 9) | pub struct MethodFilter(u16); constant CONNECT (line 29) | pub const CONNECT: Self = Self::from_bits(0b0_0000_0001); constant DELETE (line 31) | pub const DELETE: Self = Self::from_bits(0b0_0000_0010); constant GET (line 33) | pub const GET: Self = Self::from_bits(0b0_0000_0100); constant HEAD (line 35) | pub const HEAD: Self = Self::from_bits(0b0_0000_1000); constant OPTIONS (line 37) | pub const OPTIONS: Self = Self::from_bits(0b0_0001_0000); constant PATCH (line 39) | pub const PATCH: Self = Self::from_bits(0b0_0010_0000); constant POST (line 41) | pub const POST: Self = Self::from_bits(0b0_0100_0000); constant PUT (line 43) | pub const PUT: Self = Self::from_bits(0b0_1000_0000); constant TRACE (line 45) | pub const TRACE: Self = Self::from_bits(0b1_0000_0000); method bits (line 47) | const fn bits(self) -> u16 { method from_bits (line 52) | const fn from_bits(bits: u16) -> Self { method contains (line 56) | pub(crate) const fn contains(self, other: Self) -> bool { method or (line 62) | pub const fn or(self, other: Self) -> Self { type Error (line 89) | type Error = NoMatchingMethodFilter; method try_from (line 91) | fn try_from(m: Method) -> Result { type NoMatchingMethodFilter (line 69) | pub struct NoMatchingMethodFilter { method method (line 75) | pub fn method(&self) -> &Method { method fmt (line 81) | fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { function from_http_method (line 112) | fn from_http_method() { FILE: axum/src/routing/method_routing.rs function on_service (line 368) | pub fn on_service(filter: MethodFilter, svc: T) -> MethodRouter(svc: T) -> MethodRouter function on (line 466) | pub fn on(filter: MethodFilter, handler: H) -> MethodRouter(handler: H) -> MethodRouter type MethodRouter (line 547) | pub struct MethodRouter { type AllowHeader (line 562) | enum AllowHeader { method merge (line 572) | fn merge(self, other: Self) -> Self { function fmt (line 587) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function on (line 630) | pub fn on(self, filter: MethodFilter, handler: H) -> Self function fallback (line 653) | pub fn fallback(mut self, handler: H) -> Self function method_filter (line 673) | pub fn method_filter(&self) -> Option { function default_fallback (line 712) | pub(crate) fn default_fallback(self, handler: H) -> Self function into_make_service (line 754) | pub fn into_make_service(self) -> IntoMakeService { function into_make_service_with_connect_info (line 788) | pub fn into_make_service_with_connect_info(self) -> IntoMakeServiceWi... function new (line 799) | pub fn new() -> Self { function with_state (line 820) | pub fn with_state(self, state: S) -> MethodRouter { function on_service (line 860) | pub fn on_service(self, filter: MethodFilter, svc: T) -> Self function on_endpoint (line 870) | fn on_endpoint(mut self, filter: MethodFilter, endpoint: &MethodEndpoint... function fallback_service (line 1003) | pub fn fallback_service(mut self, svc: T) -> Self function layer (line 1014) | pub fn layer(self, layer: L) -> MethodRouter function route_layer (line 1044) | pub fn route_layer(mut self, layer: L) -> Self function merge_for_path (line 1084) | pub(crate) fn merge_for_path( function merge (line 1138) | pub fn merge(self, other: Self) -> Self { function handle_error (line 1149) | pub fn handle_error(self, f: F) -> MethodRouter function skip_allow_header (line 1162) | fn skip_allow_header(mut self) -> Self { function call_with_state (line 1167) | pub(crate) fn call_with_state(&self, req: Request, state: S) -> RouteFut... function append_allow_header (line 1225) | fn append_allow_header(allow_header: &mut AllowHeader, method: &'static ... method clone (line 1246) | fn clone(&self) -> Self { method default (line 1267) | fn default() -> Self { type MethodEndpoint (line 1272) | enum MethodEndpoint { function is_some (line 1282) | fn is_some(&self) -> bool { function is_none (line 1286) | fn is_none(&self) -> bool { function map (line 1290) | fn map(self, f: F) -> MethodEndpoint function with_state (line 1304) | fn with_state(self, state: &S) -> MethodEndpoint { method clone (line 1314) | fn clone(&self) -> Self { function fmt (line 1324) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Response (line 1338) | type Response = Response; type Error (line 1339) | type Error = E; type Future (line 1340) | type Future = RouteFuture; function poll_ready (line 1343) | fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll) -> Self::Future { type Future (line 1359) | type Future = InfallibleRouteFuture; function call (line 1361) | fn call(self, req: Request, state: S) -> Self::Future { constant _ (line 1368) | const _: () = { function method_not_allowed_by_default (line 1402) | async fn method_not_allowed_by_default() { function get_service_fn (line 1410) | async fn get_service_fn() { function get_handler (line 1423) | async fn get_handler() { function get_accepts_head (line 1431) | async fn get_accepts_head() { function head_takes_precedence_over_get (line 1439) | async fn head_takes_precedence_over_get() { function merge (line 1447) | async fn merge() { function layer (line 1462) | async fn layer() { function route_layer (line 1478) | async fn route_layer() { function building_complex_router (line 1493) | async fn building_complex_router() { function sets_allow_header (line 1514) | async fn sets_allow_header() { function sets_allow_header_get_head (line 1522) | async fn sets_allow_header_get_head() { function empty_allow_header_by_default (line 1530) | async fn empty_allow_header_by_default() { function allow_header_when_merging (line 1538) | async fn allow_header_when_merging() { function allow_header_any (line 1549) | async fn allow_header_any() { function allow_header_with_fallback (line 1558) | async fn allow_header_with_fallback() { function allow_header_with_fallback_that_sets_allow (line 1569) | async fn allow_header_with_fallback_that_sets_allow() { function allow_header_noop_middleware (line 1597) | async fn allow_header_noop_middleware() { function handler_overlaps (line 1611) | async fn handler_overlaps() { function service_overlaps (line 1619) | async fn service_overlaps() { function get_head_does_not_overlap (line 1624) | async fn get_head_does_not_overlap() { function head_get_does_not_overlap (line 1629) | async fn head_get_does_not_overlap() { function accessing_state (line 1634) | async fn accessing_state() { function fallback_accessing_state (line 1646) | async fn fallback_accessing_state() { function merge_accessing_state (line 1658) | async fn merge_accessing_state() { function method_filter (line 1674) | fn method_filter() { function call (line 1692) | async fn call(method: Method, svc: &mut S) -> (StatusCode, HeaderMap,... function ok (line 1716) | async fn ok() -> (StatusCode, &'static str) { function created (line 1720) | async fn created() -> (StatusCode, &'static str) { FILE: axum/src/routing/mod.rs constant TAKE_ONCE_ROUTE_PANIC_MSG (line 60) | const TAKE_ONCE_ROUTE_PANIC_MSG: &str = function take_route_or_internal_error (line 63) | fn take_route_or_internal_error(service: &mut Option) -> Route { type RouteId (line 76) | pub(crate) struct RouteId(usize); type Router (line 86) | pub struct Router { method into_make_service (line 558) | pub fn into_make_service(self) -> IntoMakeService { method into_make_service_with_connect_info (line 567) | pub fn into_make_service_with_connect_info(self) -> IntoMakeService... method clone (line 91) | fn clone(&self) -> Self { type RouterInner (line 98) | struct RouterInner { method default (line 108) | fn default() -> Self { function fmt (line 114) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { constant NEST_TAIL_PARAM (line 123) | pub(crate) const NEST_TAIL_PARAM: &str = "__private__axum_nest_tail_param"; constant NEST_TAIL_PARAM_CAPTURE (line 125) | pub(crate) const NEST_TAIL_PARAM_CAPTURE: &str = "/{*__private__axum_nes... constant FALLBACK_PARAM (line 126) | pub(crate) const FALLBACK_PARAM: &str = "__private__axum_fallback"; constant FALLBACK_PARAM_PATH (line 127) | pub(crate) const FALLBACK_PARAM_PATH: &str = "/{*__private__axum_fallbac... function new (line 162) | pub fn new() -> Self { function into_inner (line 172) | fn into_inner(self) -> RouterInner { function without_v07_checks (line 184) | pub fn without_v07_checks(self) -> Self { function route (line 192) | pub fn route(self, path: &str, method_router: MethodRouter) -> Self { function route_service (line 199) | pub fn route_service(self, path: &str, service: T) -> Self function nest (line 220) | pub fn nest(self, path: &str, router: Self) -> Self { function nest_service (line 241) | pub fn nest_service(self, path: &str, service: T) -> Self function merge (line 258) | pub fn merge(self, other: R) -> Self function layer (line 296) | pub fn layer(self, layer: L) -> Self function route_layer (line 313) | pub fn route_layer(self, layer: L) -> Self function has_routes (line 330) | pub fn has_routes(&self) -> bool { function fallback (line 336) | pub fn fallback(self, handler: H) -> Self function fallback_service (line 351) | pub fn fallback_service(self, service: T) -> Self function method_not_allowed_fallback (line 366) | pub fn method_not_allowed_fallback(self, handler: H) -> Self function reset_fallback (line 384) | pub fn reset_fallback(self) -> Self { function fallback_endpoint (line 391) | fn fallback_endpoint(self, endpoint: Endpoint) -> Self { function with_state (line 444) | pub fn with_state(self, state: S) -> Router { function call_with_state (line 452) | pub(crate) fn call_with_state(&self, req: Request, state: S) -> RouteFut... function as_service (line 517) | pub fn as_service(&mut self) -> RouterAsService<'_, B, S> { function into_service (line 530) | pub fn into_service(self) -> RouterIntoService { constant _ (line 576) | const _: () = { type Response (line 604) | type Response = Response; type Error (line 605) | type Error = Infallible; type Future (line 606) | type Future = RouteFuture; function poll_ready (line 609) | fn poll_ready(&mut self, _: &mut Context<'_>) -> Poll) -> Self::Future { type RouterAsService (line 623) | pub struct RouterAsService<'a, B, S = ()> { type Response (line 633) | type Response = Response; type Error (line 634) | type Error = Infallible; type Future (line 635) | type Future = RouteFuture; function poll_ready (line 638) | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll) -> Self::Future { function fmt (line 652) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type RouterIntoService (line 662) | pub struct RouterIntoService { method clone (line 671) | fn clone(&self) -> Self { type Response (line 684) | type Response = Response; type Error (line 685) | type Error = Infallible; type Future (line 686) | type Future = RouteFuture; function poll_ready (line 689) | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll) -> Self::Future { function fmt (line 703) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Fallback (line 710) | enum Fallback { function merge (line 720) | fn merge(self, other: Self) -> Option { function map (line 729) | fn map(self, f: F) -> Fallback function with_state (line 743) | fn with_state(self, state: S) -> Fallback { function call_with_state (line 751) | fn call_with_state(self, req: Request, state: S) -> RouteFuture { function is_default (line 761) | fn is_default(&self) -> bool { method clone (line 767) | fn clone(&self) -> Self { function fmt (line 777) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Endpoint (line 787) | enum Endpoint { function layer (line 796) | fn layer(self, layer: L) -> Self method clone (line 812) | fn clone(&self) -> Self { function fmt (line 821) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function traits (line 832) | fn traits() { FILE: axum/src/routing/not_found.rs type NotFound (line 16) | pub(super) struct NotFound; type Response (line 22) | type Response = Response; type Error (line 23) | type Error = Infallible; type Future (line 24) | type Future = std::future::Ready>; method poll_ready (line 27) | fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll) -> Self::Future { FILE: axum/src/routing/path_router.rs type PathRouter (line 16) | pub(super) struct PathRouter { function validate_path (line 22) | fn validate_path(v7_checks: bool, path: &str) -> Result<(), &'static str> { function validate_v07_paths (line 36) | fn validate_v07_paths(path: &str) -> Result<(), &'static str> { function without_v07_checks (line 62) | pub(super) fn without_v07_checks(&mut self) { function route (line 66) | pub(super) fn route( function method_not_allowed_fallback (line 95) | pub(super) fn method_not_allowed_fallback(&mut self, handler: &H) function route_service (line 107) | pub(super) fn route_service( function route_endpoint (line 120) | pub(super) fn route_endpoint( function set_node (line 132) | fn set_node(&mut self, path: &str, id: RouteId) -> Result<(), String> { function new_route (line 139) | fn new_route(&mut self, path: &str, endpoint: Endpoint) -> Result<(),... function merge (line 146) | pub(super) fn merge(&mut self, other: Self) -> Result<(), Cow<'static, s... function nest (line 172) | pub(super) fn nest( function nest_service (line 212) | pub(super) fn nest_service( function layer (line 251) | pub(super) fn layer(self, layer: L) -> Self function route_layer (line 273) | pub(super) fn route_layer(self, layer: L) -> Self function has_routes (line 301) | pub(super) fn has_routes(&self) -> bool { function with_state (line 305) | pub(super) fn with_state(self, state: S) -> PathRouter { function call_with_state (line 325) | pub(super) fn call_with_state( method default (line 376) | fn default() -> Self { function fmt (line 386) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { method clone (line 395) | fn clone(&self) -> Self { type Node (line 406) | struct Node { method insert (line 413) | fn insert( method at (line 429) | fn at<'n, 'p>( method fmt (line 438) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function validate_nest_path (line 445) | fn validate_nest_path(v7_checks: bool, path: &str) -> Result<&str, &'sta... function path_for_nested_route (line 466) | pub(crate) fn path_for_nested_route<'a>(prefix: &'a str, path: &'a str) ... FILE: axum/src/routing/route.rs type Route (line 31) | pub struct Route(BoxCloneSyncService(svc: T) -> Self function call_owned (line 44) | pub(crate) fn call_owned(self, req: Request) -> RouteFuture { function oneshot_inner (line 49) | pub(crate) fn oneshot_inner(&self, req: Request) -> RouteFuture { function oneshot_inner_owned (line 55) | pub(crate) fn oneshot_inner_owned(self, req: Request) -> RouteFuture { function layer (line 60) | pub(crate) fn layer(self, layer: L) -> Route method clone (line 77) | fn clone(&self) -> Self { function fmt (line 83) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Response (line 93) | type Response = Response; type Error (line 94) | type Error = E; type Future (line 95) | type Future = RouteFuture; type Output (line 144) | type Output = Result; method poll (line 147) | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll, cx: &mut Context<'_>) -> Poll) -> Poll) -> Self::Future { function new (line 120) | fn new( function allow_header (line 132) | pub(crate) fn allow_header(mut self, allow_header: Bytes) -> Self { function not_top_level (line 137) | pub(crate) fn not_top_level(mut self) -> Self { function set_allow_header (line 182) | fn set_allow_header(headers: &mut HeaderMap, allow_header: &mut Option) -> Self { function traits (line 244) | fn traits() { FILE: axum/src/routing/strip_prefix.rs type StripPrefix (line 11) | pub(super) struct StripPrefix { function layer (line 17) | pub(super) fn layer(prefix: &str) -> impl Layer + Clo... type Response (line 30) | type Response = S::Response; type Error (line 31) | type Error = S::Error; type Future (line 32) | type Future = S::Future; function poll_ready (line 35) | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll) -> Self::Future { function strip_prefix (line 47) | fn strip_prefix(uri: &Uri, prefix: &str) -> Option { function segments (line 124) | fn segments(s: &str) -> impl Iterator { function zip_longest (line 136) | fn zip_longest(a: I, b: I2) -> impl Iterator> function is_capture (line 151) | fn is_capture(segment: &str) -> bool { type Item (line 160) | enum Item { function does_not_panic (line 384) | fn does_not_panic(uri_and_prefix: UriAndPrefix) -> bool { type UriAndPrefix (line 391) | struct UriAndPrefix { method arbitrary (line 397) | fn arbitrary(g: &mut quickcheck::Gen) -> Self { function ascii_alphanumeric (line 442) | fn ascii_alphanumeric(g: &mut quickcheck::Gen) -> String { function u8_between (line 467) | fn u8_between(lower: u8, upper: u8, g: &mut quickcheck::Gen) -> u8 { FILE: axum/src/routing/tests/fallback.rs function basic (line 5) | async fn basic() { function nest (line 20) | async fn nest() { function two (line 35) | async fn two() { function or (line 47) | async fn or() { function fallback_accessing_state (line 64) | async fn fallback_accessing_state() { function inner_fallback (line 76) | async fn inner_fallback() -> impl IntoResponse { function outer_fallback (line 80) | async fn outer_fallback() -> impl IntoResponse { function nested_router_inherits_fallback (line 85) | async fn nested_router_inherits_fallback() { function doesnt_inherit_fallback_if_overridden (line 97) | async fn doesnt_inherit_fallback_if_overridden() { function deeply_nested_inherit_from_top (line 113) | async fn deeply_nested_inherit_from_top() { function deeply_nested_inherit_from_middle (line 126) | async fn deeply_nested_inherit_from_middle() { function with_middleware_on_inner_fallback (line 142) | async fn with_middleware_on_inner_fallback() { function also_inherits_default_layered_fallback (line 158) | async fn also_inherits_default_layered_fallback() { function nest_fallback_on_inner (line 180) | async fn nest_fallback_on_inner() { function doesnt_panic_if_used_with_nested_router (line 199) | async fn doesnt_panic_if_used_with_nested_router() { function issue_2072 (line 214) | async fn issue_2072() { function issue_2072_outer_fallback_before_merge (line 233) | async fn issue_2072_outer_fallback_before_merge() { function issue_2072_outer_fallback_after_merge (line 253) | async fn issue_2072_outer_fallback_after_merge() { function merge_router_with_fallback_into_nested_router_with_fallback (line 273) | async fn merge_router_with_fallback_into_nested_router_with_fallback() { function merging_nested_router_with_fallback_into_router_with_fallback (line 292) | async fn merging_nested_router_with_fallback_into_router_with_fallback() { function merge_empty_into_router_with_fallback (line 311) | async fn merge_empty_into_router_with_fallback() { function merge_router_with_fallback_into_empty (line 322) | async fn merge_router_with_fallback_into_empty() { function mna_fallback_not_405 (line 333) | async fn mna_fallback_not_405() { function mna_fallback_with_existing_fallback (line 350) | async fn mna_fallback_with_existing_fallback() { function mna_fallback_with_state (line 371) | async fn mna_fallback_with_state() { function mna_fallback_with_unused_state (line 383) | async fn mna_fallback_with_unused_state() { function state_isnt_cloned_too_much_with_fallback (line 395) | async fn state_isnt_cloned_too_much_with_fallback() { FILE: axum/src/routing/tests/get_to_head.rs function get_handles_head (line 9) | async fn get_handles_head() { function get_handles_head (line 43) | async fn get_handles_head() { FILE: axum/src/routing/tests/handle_error.rs function unit (line 5) | async fn unit() {} function forever (line 7) | async fn forever() { function timeout (line 11) | fn timeout() -> TimeoutLayer { function handler (line 16) | async fn handler() { function handler_multiple_methods_first (line 32) | async fn handler_multiple_methods_first() { function handler_multiple_methods_middle (line 49) | async fn handler_multiple_methods_middle() { function handler_multiple_methods_last (line 67) | async fn handler_multiple_methods_last() { function handler_service_ext (line 83) | async fn handler_service_ext() { FILE: axum/src/routing/tests/merge.rs function basic (line 7) | async fn basic() { function multiple_ors_balanced_differently (line 30) | async fn multiple_ors_balanced_differently() { function nested_or (line 75) | async fn nested_or() { function or_with_route_following (line 91) | async fn or_with_route_following() { function layer (line 109) | async fn layer() { function layer_and_handle_error (line 126) | async fn layer_and_handle_error() { function nesting (line 145) | async fn nesting() { function boxed (line 157) | async fn boxed() { function many_ors (line 169) | async fn many_ors() { function services (line 191) | async fn services() { function all_the_uris (line 217) | async fn all_the_uris( function nesting_and_seeing_the_right_uri (line 230) | async fn nesting_and_seeing_the_right_uri() { function nesting_and_seeing_the_right_uri_at_more_levels_of_nesting (line 260) | async fn nesting_and_seeing_the_right_uri_at_more_levels_of_nesting() { function nesting_and_seeing_the_right_uri_ors_with_nesting (line 293) | async fn nesting_and_seeing_the_right_uri_ors_with_nesting() { function nesting_and_seeing_the_right_uri_ors_with_multi_segment_uris (line 338) | async fn nesting_and_seeing_the_right_uri_ors_with_multi_segment_uris() { function middleware_that_return_early (line 372) | async fn middleware_that_return_early() { FILE: axum/src/routing/tests/mod.rs function take_route_or_internal_error_panics_on_second_call (line 50) | fn take_route_or_internal_error_panics_on_second_call() { function hello_world (line 73) | async fn hello_world() { function routing (line 106) | async fn routing() { function router_type_doesnt_change (line 141) | async fn router_type_doesnt_change() { function routing_between_services (line 162) | async fn routing_between_services() { function middleware_on_single_route (line 208) | async fn middleware_on_single_route() { function service_in_bottom (line 226) | async fn service_in_bottom() { function wrong_method_handler (line 237) | async fn wrong_method_handler() { function wrong_method_service (line 260) | async fn wrong_method_service() { function multiple_methods_for_one_handler (line 300) | async fn multiple_methods_for_one_handler() { function wildcard_sees_whole_url (line 317) | async fn wildcard_sees_whole_url() { function middleware_applies_to_routes_above (line 330) | async fn middleware_applies_to_routes_above() { function not_found_for_extra_trailing_slash (line 349) | async fn not_found_for_extra_trailing_slash() { function not_found_for_missing_trailing_slash (line 362) | async fn not_found_for_missing_trailing_slash() { function with_and_without_trailing_slash (line 372) | async fn with_and_without_trailing_slash() { function wildcard_doesnt_match_just_trailing_slash (line 390) | async fn wildcard_doesnt_match_just_trailing_slash() { function what_matches_wildcard (line 410) | async fn what_matches_wildcard() { function colliding_fallback_with_wildcard (line 441) | fn colliding_fallback_with_wildcard() { function colliding_wildcard_with_fallback (line 449) | async fn colliding_wildcard_with_fallback() { function colliding_fallback_with_fallback (line 467) | async fn colliding_fallback_with_fallback() { function colliding_root_with_fallback (line 484) | async fn colliding_root_with_fallback() { function colliding_fallback_with_root (line 501) | async fn colliding_fallback_with_root() { function static_and_dynamic_paths (line 519) | async fn static_and_dynamic_paths() { function empty_route (line 538) | async fn empty_route() { function middleware_still_run_for_unmatched_requests (line 544) | async fn middleware_still_run_for_unmatched_requests() { function routing_to_router_panics (line 588) | async fn routing_to_router_panics() { function route_layer (line 594) | async fn route_layer() { function different_methods_added_in_different_routes (line 621) | async fn different_methods_added_in_different_routes() { function merging_routers_with_fallbacks_panics (line 639) | async fn merging_routers_with_fallbacks_panics() { function routes_with_overlapping_method_routes (line 648) | fn routes_with_overlapping_method_routes() { function merging_with_overlapping_method_routes (line 657) | fn merging_with_overlapping_method_routes() { function merging_routers_with_same_paths_but_different_methods (line 664) | async fn merging_routers_with_same_paths_but_different_methods() { function head_content_length_through_hyper_server (line 680) | async fn head_content_length_through_hyper_server() { function head_content_length_through_hyper_server_that_hits_fallback (line 697) | async fn head_content_length_through_hyper_server_that_hits_fallback() { function head_with_middleware_applied (line 707) | async fn head_with_middleware_applied() { function routes_must_start_with_slash (line 736) | async fn routes_must_start_with_slash() { function body_limited_by_default (line 742) | async fn body_limited_by_default() { function disabling_the_default_limit (line 770) | async fn disabling_the_default_limit() { function limited_body_with_content_length (line 786) | async fn limited_body_with_content_length() { function changing_the_default_limit (line 808) | async fn changing_the_default_limit() { function changing_the_default_limit_differently_on_different_routes (line 831) | async fn changing_the_default_limit_differently_on_different_routes() { function limited_body_with_streaming_body (line 893) | async fn limited_body_with_streaming_body() { function extract_state (line 923) | async fn extract_state() { function explicitly_set_state (line 959) | async fn explicitly_set_state() { function layer_response_into_response (line 973) | async fn layer_response_into_response() { function method_router_fallback_with_state (line 992) | fn method_router_fallback_with_state() { function test_path_for_nested_route (line 1005) | fn test_path_for_nested_route() { function state_isnt_cloned_too_much (line 1020) | async fn state_isnt_cloned_too_much() { function state_isnt_cloned_too_much_in_layer (line 1038) | async fn state_isnt_cloned_too_much_in_layer() { function logging_rejections (line 1058) | async fn logging_rejections() { function connect_going_to_custom_fallback (line 1126) | async fn connect_going_to_custom_fallback() { function connect_going_to_default_fallback (line 1144) | async fn connect_going_to_default_fallback() { function impl_handler_for_into_response (line 1161) | async fn impl_handler_for_into_response() { function colon_in_route (line 1175) | async fn colon_in_route() { function asterisk_in_route (line 1183) | async fn asterisk_in_route() { function middleware_adding_body (line 1188) | async fn middleware_adding_body() { FILE: axum/src/routing/tests/nest.rs function nesting_apps (line 6) | async fn nesting_apps() { function wrong_method_nest (line 61) | async fn wrong_method_nest() { function nest_router_at_root (line 80) | fn nest_router_at_root() { function nest_router_at_empty_path (line 87) | fn nest_router_at_empty_path() { function nest_service_at_root (line 96) | fn nest_service_at_root() { function nest_service_at_empty_path (line 104) | fn nest_service_at_empty_path() { function nest_no_slash (line 110) | fn nest_no_slash() { function nest_service_no_slash (line 116) | fn nest_service_no_slash() { function nested_url_extractor (line 121) | async fn nested_url_extractor() { function nested_url_original_extractor (line 147) | async fn nested_url_original_extractor() { function nested_service_sees_stripped_uri (line 167) | async fn nested_service_sees_stripped_uri() { function nest_static_file_server (line 190) | async fn nest_static_file_server() { function nested_multiple_routes (line 200) | async fn nested_multiple_routes() { function multiple_top_level_nests (line 218) | async fn multiple_top_level_nests() { function nest_cannot_contain_wildcards (line 237) | async fn nest_cannot_contain_wildcards() { function outer_middleware_still_see_whole_url (line 242) | async fn outer_middleware_still_see_whole_url() { function nest_at_capture (line 290) | async fn nest_at_capture() { function nest_with_and_without_trailing (line 306) | async fn nest_with_and_without_trailing() { function nesting_with_root_inner_router (line 322) | async fn nesting_with_root_inner_router() { function colon_in_route (line 391) | async fn colon_in_route() { function asterisk_in_route (line 399) | async fn asterisk_in_route() { function nesting_router_with_fallback (line 404) | async fn nesting_router_with_fallback() { function defining_missing_routes_in_nested_router (line 420) | async fn defining_missing_routes_in_nested_router() { function overriding_by_nested_router (line 454) | fn overriding_by_nested_router() { function overriding_nested_router_ (line 467) | fn overriding_nested_router_() { function overriding_nested_service_router (line 478) | async fn overriding_nested_service_router() { FILE: axum/src/routing/url_params.rs type UrlParams (line 7) | pub(crate) enum UrlParams { function insert_url_params (line 12) | pub(super) fn insert_url_params(extensions: &mut Extensions, params: &Pa... FILE: axum/src/serve/listener.rs type Listener (line 18) | pub trait Listener: Send + 'static { method accept (line 29) | fn accept(&mut self) -> impl Future +... method local_addr (line 32) | fn local_addr(&self) -> io::Result; type Io (line 36) | type Io = TcpStream; type Addr (line 37) | type Addr = std::net::SocketAddr; method accept (line 39) | async fn accept(&mut self) -> (Self::Io, Self::Addr) { method local_addr (line 49) | fn local_addr(&self) -> io::Result { type Io (line 56) | type Io = tokio::net::UnixStream; type Addr (line 57) | type Addr = tokio::net::unix::SocketAddr; method accept (line 59) | async fn accept(&mut self) -> (Self::Io, Self::Addr) { method local_addr (line 69) | fn local_addr(&self) -> io::Result { type Io (line 139) | type Io = ConnLimiterIo; type Addr (line 140) | type Addr = T::Addr; method accept (line 142) | async fn accept(&mut self) -> (Self::Io, Self::Addr) { method local_addr (line 148) | fn local_addr(&self) -> tokio::io::Result { type Io (line 231) | type Io = L::Io; type Addr (line 232) | type Addr = L::Addr; method accept (line 234) | async fn accept(&mut self) -> (Self::Io, Self::Addr) { method local_addr (line 240) | fn local_addr(&self) -> io::Result { type ListenerExt (line 75) | pub trait ListenerExt: Listener + Sized { method limit_connections (line 87) | fn limit_connections(self, limit: usize) -> ConnLimiter { method tap_io (line 116) | fn tap_io(self, tap_fn: F) -> TapIo type ConnLimiter (line 133) | pub struct ConnLimiter { method poll_read (line 167) | fn poll_read( method is_write_vectored (line 178) | fn is_write_vectored(&self) -> bool { method poll_flush (line 182) | fn poll_flush(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll, cx: &mut Context<'_>) -> Poll { function fmt (line 219) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function handle_accept_error (line 245) | async fn handle_accept_error(e: io::Error) { function is_connection_error (line 265) | fn is_connection_error(e: &io::Error) -> bool { function limit_connections (line 283) | async fn limit_connections() { FILE: axum/src/serve/mod.rs function serve (line 101) | pub fn serve(listener: L, make_service: M) -> Serve type Serve (line 121) | pub struct Serve { function with_graceful_shutdown (line 157) | pub fn with_graceful_shutdown(self, signal: F) -> WithGracefulShutdow... function local_addr (line 170) | pub fn local_addr(&self) -> io::Result { function run (line 188) | async fn run(self) -> ! { method fmt (line 211) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Output (line 239) | type Output = Infallible; type IntoFuture (line 240) | type IntoFuture = private::ServeFuture; method into_future (line 242) | fn into_future(self) -> Self::IntoFuture { type WithGracefulShutdown (line 250) | pub struct WithGracefulShutdown { function local_addr (line 263) | pub fn local_addr(&self) -> io::Result { function run (line 282) | async fn run(self) { method fmt (line 330) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Output (line 360) | type Output = (); type IntoFuture (line 361) | type IntoFuture = private::ServeFuture<()>; method into_future (line 363) | fn into_future(self) -> Self::IntoFuture { function handle_connection (line 368) | async fn handle_connection( type IncomingStream (line 447) | pub struct IncomingStream<'a, L> function io (line 460) | pub fn io(&self) -> &L::Io { function remote_addr (line 465) | pub fn remote_addr(&self) -> &L::Addr { type ServeFuture (line 478) | pub struct ServeFuture(pub(super) futures_core::future::... method fmt (line 490) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type Output (line 481) | type Output = T; method poll (line 484) | fn poll(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll(Option); type Io (line 534) | type Io = T; type Addr (line 535) | type Addr = (); method accept (line 537) | async fn accept(&mut self) -> (Self::Io, Self::Addr) { method local_addr (line 544) | fn local_addr(&self) -> io::Result { function if_it_compiles_it_works (line 550) | async fn if_it_compiles_it_works() { function handler (line 685) | async fn handler() {} function test_serve_local_addr (line 688) | async fn test_serve_local_addr() { function test_with_graceful_shutdown_local_addr (line 700) | async fn test_with_graceful_shutdown_local_addr() { function test_with_graceful_shutdown_request_header_timeout (line 713) | async fn test_with_graceful_shutdown_request_header_timeout() { function test_hyper_header_read_timeout_is_enabled (line 740) | async fn test_hyper_header_read_timeout_is_enabled() { function into_future_outside_tokio (line 771) | fn into_future_outside_tokio() { function serving_on_custom_io_type (line 787) | async fn serving_on_custom_io_type() { function serving_with_custom_body_type (line 811) | async fn serving_with_custom_body_type() { FILE: axum/src/service_ext.rs type ServiceExt (line 8) | pub trait ServiceExt: Service + Sized { method into_make_service (line 18) | fn into_make_service(self) -> IntoMakeService; method into_make_service_with_connect_info (line 33) | fn into_make_service_with_connect_info(self) -> IntoMakeServiceWith... method handle_error (line 42) | fn handle_error(self, f: F) -> HandleError { method into_make_service (line 51) | fn into_make_service(self) -> IntoMakeService { method into_make_service_with_connect_info (line 56) | fn into_make_service_with_connect_info(self) -> IntoMakeServiceWithCo... FILE: axum/src/test_helpers/counting_cloneable_state.rs type CountingCloneableState (line 6) | pub(crate) struct CountingCloneableState { method new (line 16) | pub(crate) fn new() -> Self { method setup_done (line 26) | pub(crate) fn setup_done(&self) { method count (line 30) | pub(crate) fn count(&self) -> usize { type InnerState (line 10) | struct InnerState { method clone (line 36) | fn clone(&self) -> Self { FILE: axum/src/test_helpers/mod.rs function assert_send (line 15) | pub(crate) fn assert_send() {} function assert_sync (line 17) | pub(crate) fn assert_sync() {} type NotSendSync (line 20) | pub(crate) struct NotSendSync(*const ()); FILE: axum/src/test_helpers/test_client.rs function spawn_service (line 11) | pub(crate) fn spawn_service(svc: S) -> SocketAddr type TestClient (line 30) | pub struct TestClient { method new (line 36) | pub fn new(svc: S) -> Self method get (line 51) | pub fn get(&self, url: &str) -> RequestBuilder { method head (line 57) | pub fn head(&self, url: &str) -> RequestBuilder { method post (line 63) | pub fn post(&self, url: &str) -> RequestBuilder { method put (line 70) | pub fn put(&self, url: &str) -> RequestBuilder { method patch (line 77) | pub fn patch(&self, url: &str) -> RequestBuilder { method server_port (line 85) | pub fn server_port(&self) -> u16 { type RequestBuilder (line 91) | pub struct RequestBuilder { method body (line 96) | pub fn body(mut self, body: impl Into) -> Self { method json (line 101) | pub fn json(mut self, json: &T) -> Self method header (line 109) | pub fn header(mut self, key: K, value: V) -> Self method multipart (line 121) | pub fn multipart(mut self, form: reqwest::multipart::Form) -> Self { type Output (line 128) | type Output = TestResponse; type IntoFuture (line 129) | type IntoFuture = BoxFuture<'static, Self::Output>; method into_future (line 131) | fn into_future(self) -> Self::IntoFuture { type TestResponse (line 141) | pub struct TestResponse { method bytes (line 155) | pub async fn bytes(self) -> Bytes { method text (line 159) | pub async fn text(self) -> String { method json (line 164) | pub async fn json(self) -> T method chunk (line 171) | pub async fn chunk(&mut self) -> Option { method chunk_text (line 175) | pub async fn chunk_text(&mut self) -> Option { type Target (line 146) | type Target = reqwest::Response; method deref (line 148) | fn deref(&self) -> &Self::Target { FILE: axum/src/test_helpers/tracing_helpers.rs type TracingEvent (line 16) | pub(crate) struct TracingEvent { function capture_tracing (line 23) | pub(crate) fn capture_tracing(f: F) -> CaptureTracing type CaptureTracing (line 34) | pub(crate) struct CaptureTracing { function with_filter (line 41) | pub(crate) fn with_filter(mut self, filter_string: &str) -> Self { type Output (line 53) | type Output = Vec>; type IntoFuture (line 54) | type IntoFuture = Pin + Send>>; method into_future (line 56) | fn into_future(self) -> Self::IntoFuture { type TestMakeWriter (line 88) | struct TestMakeWriter { method new (line 93) | fn new() -> (Self, Handle) { type Writer (line 106) | type Writer = Writer<'a>; method make_writer (line 108) | fn make_writer(&'a self) -> Self::Writer { type Writer (line 113) | struct Writer<'a>(&'a TestMakeWriter); function write (line 116) | fn write(&mut self, buf: &[u8]) -> io::Result { function flush (line 127) | fn flush(&mut self) -> io::Result<()> { type Handle (line 132) | struct Handle { method take (line 137) | fn take(self) -> String { FILE: axum/src/util.rs type PercentDecodedStr (line 13) | pub(crate) struct PercentDecodedStr(Arc); method new (line 16) | pub(crate) fn new(s: S) -> Option method as_str (line 26) | pub(crate) fn as_str(&self) -> &str { type Target (line 32) | type Target = str; method deref (line 35) | fn deref(&self) -> &Self::Target { type MapIntoResponse (line 49) | pub(crate) struct MapIntoResponse { function new (line 54) | pub(crate) fn new(inner: S) -> Self { type Response (line 64) | type Response = Response; type Error (line 65) | type Error = S::Error; type Future (line 66) | type Future = MapIntoResponseFuture; type Output (line 91) | type Output = Result; method poll (line 93) | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll) -> Poll) -> Self::Future { function try_downcast (line 99) | pub(crate) fn try_downcast(k: K) -> Result function test_try_downcast (line 113) | fn test_try_downcast() { FILE: axum/tests/panic_location.rs function routes_with_overlapping_method_routes (line 12) | fn routes_with_overlapping_method_routes() { FILE: examples/anyhow-error-response/src/main.rs function main (line 15) | async fn main() { function handler (line 25) | async fn handler() -> Result<(), AppError> { function try_thing (line 30) | fn try_thing() -> Result<(), anyhow::Error> { type AppError (line 35) | struct AppError(anyhow::Error); method from (line 58) | fn from(err: E) -> Self { method into_response (line 39) | fn into_response(self) -> Response { function app (line 48) | fn app() -> Router { function test_main_page (line 71) | async fn test_main_page() { FILE: examples/auto-reload/src/main.rs function main (line 12) | async fn main() { function handler (line 32) | async fn handler() -> Html<&'static str> { FILE: examples/chat/src/main.rs type AppState (line 27) | struct AppState { function main (line 35) | async fn main() { function websocket_handler (line 62) | async fn websocket_handler( function websocket (line 72) | async fn websocket(stream: WebSocket, state: Arc) { function check_username (line 148) | fn check_username(state: &AppState, string: &mut String, name: &str) { function index (line 159) | async fn index() -> Html<&'static str> { FILE: examples/compression/src/main.rs function main (line 11) | async fn main() { function app (line 29) | fn app() -> Router { function root (line 37) | async fn root(Json(value): Json) -> Json { FILE: examples/compression/src/tests.rs function handle_uncompressed_request_bodies (line 16) | async fn handle_uncompressed_request_bodies() { function decompress_gzip_request_bodies (line 37) | async fn decompress_gzip_request_bodies() { function decompress_br_request_bodies (line 59) | async fn decompress_br_request_bodies() { function decompress_zstd_request_bodies (line 81) | async fn decompress_zstd_request_bodies() { function do_not_compress_response_bodies (line 103) | async fn do_not_compress_response_bodies() { function compress_response_bodies_with_gzip (line 121) | async fn compress_response_bodies_with_gzip() { function compress_response_bodies_with_br (line 147) | async fn compress_response_bodies_with_br() { function compress_response_bodies_with_zstd (line 172) | async fn compress_response_bodies_with_zstd() { function json (line 195) | fn json() -> Value { function json_body (line 205) | fn json_body(input: &Value) -> Body { function json_from_response (line 209) | async fn json_from_response(response: Response) -> Value { function byte_from_response (line 214) | async fn byte_from_response(response: Response) -> Bytes { function body_as_json (line 220) | fn body_as_json(body: Bytes) -> Value { function compress_gzip (line 224) | fn compress_gzip(json: &Value) -> Vec { function compress_br (line 232) | fn compress_br(json: &Value) -> Vec { function compress_zstd (line 242) | fn compress_zstd(json: &Value) -> Vec { FILE: examples/consume-body-in-extractor-or-middleware/src/main.rs function main (line 20) | async fn main() { function print_request_body (line 41) | async fn print_request_body(request: Request, next: Next) -> Result Result Result impl IntoResponse { function json (line 59) | async fn json() -> impl IntoResponse { FILE: examples/customize-extractor-error/src/custom_extractor.rs function handler (line 15) | pub async fn handler(Json(value): Json) -> impl IntoResponse { type Json (line 20) | pub struct Json(pub T); type Rejection (line 27) | type Rejection = (StatusCode, axum::Json); function from_request (line 29) | async fn from_request(req: Request, state: &S) -> Result) -> impl IntoResponse { type Json (line 28) | pub struct Json(T); method into_response (line 32) | fn into_response(self) -> axum::response::Response { type ApiError (line 40) | pub struct ApiError { method from (line 47) | fn from(rejection: JsonRejection) -> Self { method into_response (line 57) | fn into_response(self) -> axum::response::Response { FILE: examples/customize-extractor-error/src/main.rs function main (line 15) | async fn main() { FILE: examples/customize-extractor-error/src/with_rejection.rs function handler (line 21) | pub async fn handler( type ApiError (line 34) | pub enum ApiError { method into_response (line 43) | fn into_response(self) -> axum::response::Response { FILE: examples/customize-path-rejection/src/main.rs function main (line 18) | async fn main() { function handler (line 38) | async fn handler(Path(params): Path) -> impl IntoResponse { type Params (line 43) | struct Params { type Path (line 49) | struct Path(T); type Rejection (line 57) | type Rejection = (StatusCode, axum::Json); function from_request_parts (line 59) | async fn from_request_parts(parts: &mut Parts, state: &S) -> Result { type User (line 86) | struct User { type UserParams (line 92) | struct UserParams { function create_user_dyn (line 96) | async fn create_user_dyn( function get_user_dyn (line 110) | async fn get_user_dyn( function create_user_generic (line 120) | async fn create_user_generic( function get_user_generic (line 137) | async fn get_user_generic( type UserRepo (line 150) | trait UserRepo: Send + Sync { method get_user (line 151) | fn get_user(&self, id: Uuid) -> Option; method save_user (line 153) | fn save_user(&self, user: &User); method get_user (line 162) | fn get_user(&self, id: Uuid) -> Option { method save_user (line 166) | fn save_user(&self, user: &User) { type InMemoryUserRepo (line 157) | struct InMemoryUserRepo { FILE: examples/diesel-async-postgres/migrations/2023-03-14-180127_add_users/up.sql type "users" (line 2) | CREATE TABLE "users"( FILE: examples/diesel-async-postgres/src/main.rs constant MIGRATIONS (line 30) | pub const MIGRATIONS: EmbeddedMigrations = embed_migrations!(); type User (line 42) | struct User { type NewUser (line 50) | struct NewUser { type Pool (line 55) | type Pool = bb8::Pool; function main (line 58) | async fn main() { function create_user (line 89) | async fn create_user( type DatabaseConnection (line 106) | struct DatabaseConnection(bb8::PooledConnection<'static, AsyncPgConnecti... type Rejection (line 113) | type Rejection = (StatusCode, String); method from_request_parts (line 115) | async fn from_request_parts(_parts: &mut Parts, state: &S) -> Result(err: E) -> (StatusCode, String) FILE: examples/diesel-postgres/migrations/2023-03-14-180127_add_users/up.sql type "users" (line 2) | CREATE TABLE "users"( FILE: examples/diesel-postgres/src/main.rs constant MIGRATIONS (line 27) | pub const MIGRATIONS: EmbeddedMigrations = embed_migrations!("migrations... type User (line 39) | struct User { type NewUser (line 47) | struct NewUser { function main (line 53) | async fn main() { function create_user (line 92) | async fn create_user( function list_users (line 110) | async fn list_users( function internal_error (line 124) | fn internal_error(err: E) -> (StatusCode, String) FILE: examples/error-handling/src/main.rs function main (line 46) | async fn main() { type AppState (line 92) | struct AppState { type UserParams (line 98) | struct UserParams { type User (line 103) | struct User { function users_create (line 109) | async fn users_create( type AppJson (line 138) | struct AppJson(T); method into_response (line 144) | fn into_response(self) -> Response { type AppError (line 151) | enum AppError { method from (line 196) | fn from(rejection: JsonRejection) -> Self { method from (line 202) | fn from(error: time_library::Error) -> Self { method into_response (line 160) | fn into_response(self) -> Response { function log_app_errors (line 208) | async fn log_app_errors(request: Request, next: Next) -> Response { type Timestamp (line 225) | pub struct Timestamp(u64); method now (line 228) | pub fn now() -> Result { type Error (line 241) | pub enum Error { method fmt (line 246) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: examples/form/src/main.rs function main (line 12) | async fn main() { function app (line 32) | fn app() -> Router { function show_form (line 36) | async fn show_form() -> Html<&'static str> { type Input (line 64) | struct Input { function accept_form (line 69) | async fn accept_form(Form(input): Form) -> Html { function test_get (line 88) | async fn test_get() { function test_post (line 105) | async fn test_post() { FILE: examples/global-404-handler/src/main.rs function main (line 16) | async fn main() { function handler (line 39) | async fn handler() -> Html<&'static str> { function handler_404 (line 43) | async fn handler_404() -> impl IntoResponse { FILE: examples/graceful-shutdown/src/main.rs function main (line 19) | async fn main() { function shutdown_signal (line 54) | async fn shutdown_signal() { FILE: examples/handle-head-request/src/main.rs function app (line 10) | fn app() -> Router { function main (line 15) | async fn main() { function get_head_handler (line 25) | async fn get_head_handler(method: http::Method) -> Response { function do_some_computing_task (line 38) | fn do_some_computing_task() { function test_get (line 51) | async fn test_get() { function test_implicit_head (line 67) | async fn test_implicit_head() { FILE: examples/hello-world/src/main.rs function main (line 10) | async fn main() { function handler (line 22) | async fn handler() -> Html<&'static str> { FILE: examples/http-proxy/src/main.rs function main (line 36) | async fn main() { function proxy (line 86) | async fn proxy(req: Request) -> Result { function tunnel (line 112) | async fn tunnel(upgraded: Upgraded, addr: String) -> std::io::Result<()> { FILE: examples/jwt/src/main.rs function main (line 59) | async fn main() { function protected (line 79) | async fn protected(claims: Claims) -> Result { function authorize (line 86) | async fn authorize(Json(payload): Json) -> Result) -> std::fmt::Result { method into_response (line 145) | fn into_response(self) -> Response { type Keys (line 159) | struct Keys { method new (line 165) | fn new(secret: &[u8]) -> Self { type Claims (line 174) | struct Claims { type Rejection (line 128) | type Rejection = AuthError; method from_request_parts (line 130) | async fn from_request_parts(parts: &mut Parts, _state: &S) -> Result Self { type AuthPayload (line 187) | struct AuthPayload { type AuthError (line 193) | enum AuthError { FILE: examples/key-value-store/src/main.rs function main (line 33) | async fn main() { type SharedState (line 84) | type SharedState = Arc>; type AppState (line 87) | struct AppState { function kv_get (line 91) | async fn kv_get( function kv_set (line 104) | async fn kv_set(Path(key): Path, State(state): State) -> String { function admin_routes (line 117) | fn admin_routes() -> Router { function handle_error (line 134) | async fn handle_error(error: BoxError) -> impl IntoResponse { FILE: examples/low-level-native-tls/src/main.rs function main (line 21) | async fn main() { function handler (line 85) | async fn handler() -> &'static str { function native_tls_acceptor (line 89) | fn native_tls_acceptor(key_file: PathBuf, cert_file: PathBuf) -> NativeT... FILE: examples/low-level-openssl/src/main.rs function main (line 19) | async fn main() { function handler (line 101) | async fn handler() -> &'static str { FILE: examples/low-level-rustls/src/main.rs function main (line 25) | async fn main() { function handler (line 89) | async fn handler() -> &'static str { function rustls_server_config (line 93) | fn rustls_server_config(key: impl AsRef, cert: impl AsRef) -... FILE: examples/mongodb/src/main.rs function main (line 23) | async fn main() { function app (line 57) | fn app(client: Client) -> Router { function create_member (line 70) | async fn create_member( function read_member (line 80) | async fn read_member( function update_member (line 93) | async fn update_member( function delete_member (line 106) | async fn delete_member( function internal_error (line 118) | fn internal_error(err: E) -> (StatusCode, String) type Member (line 127) | struct Member { FILE: examples/multipart-form/src/main.rs function main (line 17) | async fn main() { function show_form (line 44) | async fn show_form() -> Html<&'static str> { function accept_form (line 65) | async fn accept_form(mut multipart: Multipart) { FILE: examples/oauth/src/main.rs type BasicClient (line 33) | type BasicClient = oauth2::basic::BasicClient< method from_ref (line 96) | fn from_ref(state: &AppState) -> Self { function main (line 42) | async fn main() { type AppState (line 84) | struct AppState { method from_ref (line 90) | fn from_ref(state: &AppState) -> Self { function oauth_client (line 101) | fn oauth_client() -> Result { type User (line 135) | struct User { type Rejection (line 334) | type Rejection = AuthRedirect; method from_request_parts (line 336) | async fn from_request_parts(parts: &mut Parts, state: &S) -> Result) -> impl IntoResponse { function discord_auth (line 153) | async fn discord_auth( function protected (line 187) | async fn protected(user: User) -> impl IntoResponse { function logout (line 191) | async fn logout( type AuthRequest (line 219) | struct AuthRequest { function csrf_token_validation_workflow (line 224) | async fn csrf_token_validation_workflow( function login_authorized (line 265) | async fn login_authorized( type AuthRedirect (line 320) | struct AuthRedirect; method into_response (line 323) | fn into_response(self) -> Response { type AppError (line 384) | struct AppError(anyhow::Error); method from (line 401) | fn from(err: E) -> Self { method into_response (line 388) | fn into_response(self) -> Response { FILE: examples/parse-body-based-on-content-type/src/main.rs function main (line 20) | async fn main() { type Payload (line 40) | struct Payload { function handler (line 44) | async fn handler(JsonOrForm(payload): JsonOrForm) { type JsonOrForm (line 48) | struct JsonOrForm(T); type Rejection (line 57) | type Rejection = Response; function from_request (line 59) | async fn from_request(req: Request, _state: &S) -> Result(direction: &str, body: B) -> Result Router { function main_app (line 29) | fn main_app() -> Router { function start_main_server (line 41) | async fn start_main_server() { function start_metrics_server (line 51) | async fn start_metrics_server() { function main (line 63) | async fn main() { function setup_metrics_recorder (line 79) | fn setup_metrics_recorder() -> PrometheusHandle { function track_metrics (line 104) | async fn track_metrics(req: Request, next: Next) -> impl IntoResponse { FILE: examples/readme/src/main.rs function main (line 16) | async fn main() { function root (line 36) | async fn root() -> &'static str { function create_user (line 40) | async fn create_user( type CreateUser (line 58) | struct CreateUser { type User (line 64) | struct User { FILE: examples/request-id/src/main.rs constant REQUEST_ID_HEADER (line 21) | const REQUEST_ID_HEADER: &str = "x-request-id"; function main (line 24) | async fn main() { function handler (line 78) | async fn handler() -> Html<&'static str> { FILE: examples/reqwest-response/src/main.rs function main (line 23) | async fn main() { function stream_reqwest_response (line 53) | async fn stream_reqwest_response(State(client): State) -> Respon... function stream_some_data (line 70) | async fn stream_some_data() -> Body { FILE: examples/reverse-proxy/src/main.rs type Client (line 21) | type Client = hyper_util::client::legacy::Client; function main (line 24) | async fn main() { function handler (line 40) | async fn handler(State(client): State, mut req: Request) -> Resu... function server (line 59) | async fn server() { FILE: examples/routes-and-handlers-close-together/src/main.rs function main (line 13) | async fn main() { function root (line 26) | fn root() -> Router { function get_foo (line 34) | fn get_foo() -> Router { function post_foo (line 42) | fn post_foo() -> Router { function route (line 50) | fn route(path: &str, method_router: MethodRouter<()>) -> Router { FILE: examples/serve-with-hyper/src/main.rs function main (line 26) | async fn main() { function serve_plain (line 30) | async fn serve_plain() { function serve_with_connect_info (line 81) | async fn serve_with_connect_info() { function unwrap_infallible (line 119) | fn unwrap_infallible(result: Result) -> T { FILE: examples/simple-router-wasm/src/main.rs function main (line 31) | fn main() { function app (line 41) | async fn app(request: Request) -> Response { function index (line 47) | async fn index() -> Html<&'static str> { FILE: examples/sqlx-postgres/src/main.rs function main (line 29) | async fn main() { function using_connection_pool_extractor (line 64) | async fn using_connection_pool_extractor( type DatabaseConnection (line 75) | struct DatabaseConnection(sqlx::pool::PoolConnection); type Rejection (line 82) | type Rejection = (StatusCode, String); method from_request_parts (line 84) | async fn from_request_parts(_parts: &mut Parts, state: &S) -> Result(err: E) -> (StatusCode, String) FILE: examples/sse/src/main.rs function main (line 24) | async fn main() { function app (line 45) | fn app() -> Router { function sse_handler (line 55) | async fn sse_handler( function integration_test (line 83) | async fn integration_test() { FILE: examples/static-file-server/src/main.rs function main (line 19) | async fn main() { function using_serve_dir (line 40) | fn using_serve_dir() -> Router { function using_serve_dir_with_assets_fallback (line 45) | fn using_serve_dir_with_assets_fallback() -> Router { function using_serve_dir_only_from_root_via_fallback (line 57) | fn using_serve_dir_only_from_root_via_fallback() -> Router { function using_serve_dir_with_handler_as_service (line 67) | fn using_serve_dir_with_handler_as_service() -> Router { function two_serve_dirs (line 82) | fn two_serve_dirs() -> Router { function calling_serve_dir_from_a_handler (line 93) | fn calling_serve_dir_from_a_handler() -> Router { function using_serve_file_from_a_route (line 106) | fn using_serve_file_from_a_route() -> Router { function serve (line 110) | async fn serve(app: Router, port: u16) { FILE: examples/stream-to-file/src/main.rs constant UPLOADS_DIRECTORY (line 21) | const UPLOADS_DIRECTORY: &str = "uploads"; function main (line 24) | async fn main() { function save_request_body (line 52) | async fn save_request_body( function show_form (line 60) | async fn show_form() -> Html<&'static str> { function accept_form (line 88) | async fn accept_form(mut multipart: Multipart) -> Result(path: &str, stream: S) -> Result<(), (Stat... function path_is_valid (line 132) | fn path_is_valid(path: &str) -> bool { FILE: examples/templates-minijinja/src/main.rs type AppState (line 15) | struct AppState { function main (line 20) | async fn main() { function handler_home (line 50) | async fn handler_home(State(state): State>) -> Result>) -> Result>) -> Result Router { function greet (line 42) | async fn greet(extract::Path(name): extract::Path) -> impl IntoR... type HelloTemplate (line 49) | struct HelloTemplate { type HtmlTemplate (line 53) | struct HtmlTemplate(T); method into_response (line 59) | fn into_response(self) -> Response { function test_main (line 82) | async fn test_main() { FILE: examples/testing-websockets/src/main.rs function main (line 19) | async fn main() { function app (line 27) | fn app() -> Router { function integration_testable_handler (line 43) | async fn integration_testable_handler(ws: WebSocketUpgrade) -> Response { function integration_testable_handle_socket (line 47) | async fn integration_testable_handle_socket(mut socket: WebSocket) { function unit_testable_handler (line 65) | async fn unit_testable_handler(ws: WebSocketUpgrade) -> Response { function unit_testable_handle_socket (line 74) | async fn unit_testable_handle_socket(mut write: W, mut read: R) function integration_test (line 104) | async fn integration_test() { function unit_test (line 131) | async fn unit_test() { FILE: examples/testing/src/main.rs function main (line 18) | async fn main() { function app (line 37) | fn app() -> Router { function hello_world (line 68) | async fn hello_world() { function json (line 85) | async fn json() { function not_found (line 108) | async fn not_found() { function the_real_deal (line 123) | async fn the_real_deal() { function multiple_request (line 152) | async fn multiple_request() { function with_into_make_service_with_connect_info (line 180) | async fn with_into_make_service_with_connect_info() { FILE: examples/tls-graceful-shutdown/src/main.rs type Ports (line 20) | struct Ports { function main (line 26) | async fn main() { function shutdown_signal (line 72) | async fn shutdown_signal(handle: axum_server::Handle) { function handler (line 100) | async fn handler() -> &'static str { function redirect_http_to_https (line 104) | async fn redirect_http_to_https(ports: Ports, signal: F) FILE: examples/tls-rustls/src/main.rs type Ports (line 22) | struct Ports { function main (line 28) | async fn main() { function handler (line 68) | async fn handler() -> &'static str { function redirect_http_to_https (line 73) | async fn redirect_http_to_https(ports: Ports) { FILE: examples/todos/src/main.rs function main (line 36) | async fn main() { type Pagination (line 80) | pub struct Pagination { function todos_index (line 85) | async fn todos_index(pagination: Query, State(db): State... type CreateTodo (line 99) | struct CreateTodo { function todos_create (line 103) | async fn todos_create(State(db): State, Json(input): Json, State(db): State) -> imp... type Db (line 154) | type Db = Arc>>; type Todo (line 157) | struct Todo { FILE: examples/tokio-postgres/src/main.rs function main (line 19) | async fn main() { type ConnectionPool (line 50) | type ConnectionPool = Pool>; function using_connection_pool_extractor (line 52) | async fn using_connection_pool_extractor( type DatabaseConnection (line 68) | struct DatabaseConnection(PooledConnection<'static, PostgresConnectionMa... type Rejection (line 75) | type Rejection = (StatusCode, String); method from_request_parts (line 77) | async fn from_request_parts(_parts: &mut Parts, state: &S) -> Result(err: E) -> (StatusCode, String) FILE: examples/tokio-redis/src/main.rs function main (line 17) | async fn main() { type ConnectionPool (line 55) | type ConnectionPool = bb8::Pool; function using_connection_pool_extractor (line 57) | async fn using_connection_pool_extractor( type DatabaseConnection (line 67) | struct DatabaseConnection(bb8::PooledConnection<'static, redis::Client>); type Rejection (line 74) | type Rejection = (StatusCode, String); method from_request_parts (line 76) | async fn from_request_parts(_parts: &mut Parts, state: &S) -> Result(err: E) -> (StatusCode, String) FILE: examples/tracing-aka-logging/src/main.rs function main (line 22) | async fn main() { function handler (line 93) | async fn handler() -> Html<&'static str> { FILE: examples/unix-domain-socket/src/main.rs function main (line 8) | async fn main() { function main (line 13) | fn main() { function server (line 33) | pub async fn server() { function handler (line 79) | async fn handler(ConnectInfo(info): ConnectInfo) -> &'st... type UdsConnectInfo (line 87) | struct UdsConnectInfo { method connect_info (line 93) | fn connect_info(stream: IncomingStream<'_, UnixListener>) -> Self { FILE: examples/validator/src/main.rs function main (line 27) | async fn main() { function app (line 45) | fn app() -> Router { type NameInput (line 50) | pub struct NameInput { function handler (line 55) | async fn handler(ValidatedForm(input): ValidatedForm) -> Html... type ValidatedForm (line 60) | pub struct ValidatedForm(pub T); type Rejection (line 68) | type Rejection = ServerError; function from_request (line 70) | async fn from_request(req: Request, state: &S) -> Result Response { function get_html (line 109) | async fn get_html(response: Response) -> String { function test_no_param (line 116) | async fn test_no_param() { function test_with_param_without_value (line 128) | async fn test_with_param_without_value() { function test_with_param_with_short_value (line 140) | async fn test_with_param_with_short_value() { function test_with_param_and_value (line 152) | async fn test_with_param_and_value() { FILE: examples/versioning/src/main.rs function main (line 18) | async fn main() { function app (line 38) | fn app() -> Router { function handler (line 42) | async fn handler(version: Version) -> Html { type Version (line 47) | enum Version { type Rejection (line 57) | type Rejection = Response; method from_request_parts (line 59) | async fn from_request_parts(parts: &mut Parts, _state: &S) -> Result ControlFlow<(), ()> { FILE: examples/websockets/src/main.rs function main (line 45) | async fn main() { function ws_handler (line 84) | async fn ws_handler( function handle_socket (line 101) | async fn handle_socket(mut socket: WebSocket, who: SocketAddr) { function process_message (line 216) | fn process_message(msg: Message, who: SocketAddr) -> ControlFlow<(), ()> {