Here is a Rust Programming tutorial on how to build an Async Router in Rust. Great for custom Web routing such as JSON-RPC routing on method and the like.
Help support this channel: / jeremychone
00:00 - Quick Overview
00:22 - Sync Router Module
03:50 - Async Router Module
09:15 - Using the Async Router
10:35 - Arc Router to Share across Tokio Task and Thread
In this tutorial we will learn:
- how to make a simple router for sync functions
- Ho to use BoxFuture, Future, Box::pin to have a router for Async/await functions.
- and then, we will show how we can can share this router via Arc across tokio tasks and threads.
Jeremy Chone:
- Twitter - / jeremychone
- Discord On Rust - / discord
- AWESOME-APP - awesomeapp.dev - Rust Templates for building awesome applications.
- Patreon - / jeremychone - Any help is a big help (for Rust educational content)
Other popular Rust Programming videos:
- Desktop Application Code Rust Programming template full Overview: • Building Awesome Deskt...
- Tauri Quick Introduction (Desktop App wit Rust Programming): • Rust Tauri 1.0 - Quick...
- Rust Web App tutorials series: • Rust Web App - 1/3 - D...
- Rust Bevy Full Tutorial - Game Development with Rust: • Rust Bevy Full Tutoria...
- Rust for Java Developers series: • Rust for Java Develope...
Playlists:
- Rust For Desktop App: • Rust Programming for D...
- Everything Rust Programming - Tutorials, Courses, Tips, Examples: • Everything Rust Progra...
- Rust Programming for Web Development: • Rust Programming for W...
- Rust Courses: • Rust Course 2021 by th...
- Furst for Java Developers: • Rust for Java Developers
Негізгі бет Ғылым және технология Rust Async - How to build an Async Router in Rust
Пікірлер: 15