Module spin_sdk::http::conversions
source · Expand description
Traits for converting between the various types
Enums§
- An error converting an
IncomingRequest
Traits§
- A trait from converting from a body
- A trait for any type that can be turned into a
Response
body - A trait for any type that can be turned into
Response
headers - A trait for any type that can be turned into a
Response
- A trait for any type that can be turned into a
Response
status code - A trait for converting from a body or failing
- A trait for trying to convert from an
IncomingRequest
to the implementing type - A trait for converting from an
IncomingRequest
- A trait for any type that can be constructor from a
Request
- A trait for any type that can be turned into a
Response
body or fail - A trait for converting a type into an
OutgoingRequest
- Turn a type into a
Request
- A hack that allows us to do blanket impls for
T where T: TryFromRequest
for all typesT
except forRequest
.