Crate heart

Source

Re-exports§

Modules§

Macros§

Structs§

Traits§

  • Composable request filters.
  • Types that can be converted into a Response.

Functions§

  • A Filter that matches any route.
  • Creates a Filter that requires a cookie by name.
  • Create a wrapping Filter that exposes CORS behavior for a wrapped filter.
  • Create a Filter that requires the request method to be DELETE.
  • Create a Filter that requires the request method to be GET.
  • Create a Filter that requires the request method to be HEAD.
  • Create a Filter that tries to parse the specified header.
  • Create a wrapping Filter with the specified name as the target.
  • Extract the Method from the request.
  • Create a Filter that requires the request method to be OPTIONS.
  • Create a Filter that requires the request method to be PATCH.
  • Create an exact match path segment Filter.
  • Create a Filter that requires the request method to be POST.
  • Create a Filter that requires the request method to be PUT.
  • Creates a Filter that decodes query parameters to the type T.
  • HTTP 301 Moved Permanently Description: The requested resource has been permanently moved to a new URL. Usage: It is used when a URL has permanently moved to a new location. Search engines will update their index to the new URL. Browsers and clients will automatically cache this redirect, so subsequent requests for the old URL will automatically go to the new URL without making a request to the old URL. Common Use Case: Changing domain names, restructuring website URLs.
  • Create a Server with the provided Filter.
  • Create a wrapping filter that instruments every request with a custom tracing Span provided by a function.
  • Creates a Websocket Filter.

Type Aliases§

  • A block of markup is a string that does not need to be escaped.

Derive Macros§

  • Derives the Store trait for a struct, generating methods for CRUD operations in TiKV.