Module tusk_rs::reqres

source ·

Structs§

  • An incoming request. Information is extracted from the HTTP request and placed nicely into the following fields.
  • An outgoing response. This will be converted to HTTP values before being sent. It is recommended to use convenience methods to create this, as it vastly simplifies sending data.
  • RouteError is a struct that lets Tusk know that something went wrong in your application. It automatically can handle simple Strings as errors, but a custom String can be provided by using the custom method.

Enums§