Expand description
Utilities when using ruma. Either they convert between ruma and axum, or they convert between the different representations of the same data that ruma has.
Structs§
- Arminius
Response - Custom response type, which wraps a ruma [ruma::api::OutgoingResponse], and provides [IntoResponse]
- Invalid
Request Path - The user sent us an invalid request path, which we could not parse
- Other
Deserialization Error - The request was invalid for any other reason.
- Request
TooLarge - Ruma
Request - axum extractor that uses the path parameters and body to build a ruma request
Enums§
Functions§
- extract_
ruma_ request - Take an
axumrequest, and turn it into arumarequest - to_
vector_ request - Takes a [axum::http::Request] object with a [Body]
parameter, and converts it into one defined over a vector, which
rumalikes better.