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 - https://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 Desktop App with Rus...
Tauri Quick Introduction (Desktop App wit Rust Programming): • Rust Tauri 1.0 - Quick Intro - Rust D...
Rust Web App tutorials series: • Rust Web App - 1/3 - Data Access
Rust Bevy Full Tutorial - Game Development with Rust: • Rust Bevy Full Tutorial - Game Develo...
Rust for Java Developers series: • Rust for Java Developers 1/3 - Introd...
Playlists:
Rust For Desktop App: • JC - Rust Programming for Desktop App
Everything Rust Programming - Tutorials, Courses, Tips, Examples: • JC - Rust - Everything Rust Programmi...
Rust Programming for Web Development: • JC - Rust Programming for Web Develop...
Rust Courses: • Rust Course 2021 by the book | RustLang
Furst for Java Developers: • Rust for Java Developers
Смотрите видео Rust Async - How to build an Async Router in Rust онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Jeremy Chone 21 Февраль 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 5,70 раз и оно понравилось 17 людям.