Generic Methods in Rust: How Exonum Shifted from Iron to Actix-web

Exonum on Iron

Our Decision to Shift Away from Iron

Why We Chose Actix-Web

What We Require from a Web Framework

Trait `Endpoint` for Generic Processing of HTTP-requests

The Drawbacks of the `Endpoint` Trait

Light Immersion into Generic Programming

Fetching Types from the `Fn` Trait

Specialization and Marker Types

Facade for the Backend

Drawbacks of the Approach

Conclusion

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store