Introduction to Tower and the Service Trait - Rust Networking Components
Offered By: Rust via YouTube
Course Description
Overview
Explore the Tower library from the Tokio ecosystem in this 32-minute conference talk by Stefan Baumgartner at Rust Linz. Dive into reusable components and abstractions for building networking clients and servers, focusing on use-cases, reading and writing Service trait implementations, and potential drawbacks. Learn about the Tower of Services concept, local services, event handlers, Lambda event parsing, HTTP parsing and responses, error messages, and service cloning. Discover layers, service functions, HTTP servers, and the broader Tower ecosystem. Access additional resources, including slides and example code repositories, to further enhance your understanding of Tower and its applications in Rust development.
Syllabus
Intro
Disclaimer
What is Tower
Tower of Services
Service Trait
Local Service
Event Handler
Lambda Event parser
HTTP parser
HTTP response
Error messages
Call function
Clone service
Layers
Service Function
HTTP Server
Whats in the box
Ecosystem
Examples
Taught by
Rust
Related Courses
Whoops! I Rewrote it in RustStrange Loop Conference via YouTube A Tale of Two Asyncs - Open Source Language Design in Rust and Node.js
Strange Loop Conference via YouTube Tokio, Warp, and Websockets for Building Servers - October 2021
Rust via YouTube Tokio - How We Hit 88mph
Rust via YouTube How I Convinced the World's Largest Package Manager to Use Rust - Strategies and Lessons Learned
Rust via YouTube