Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Introduction to Tower and the Service Trait - Rust Networking Components

Rust via YouTube

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

Reviews

Start your review of Introduction to Tower and the Service Trait - Rust Networking Components

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.