Uploaded February 2023 | Updated November 2026, 3 days ago
Join our Rust Live Accelerator waitlist (free Rust Job-Ready Roadmap inside):
letsgetrusty.com/join
Let’s Get Rusty is the #1 Rust education & career development platform for engineers who want real-world skills and results. We combine a structured curriculum, industry-grade projects, expert review and feedback, and our Rust recruiter network — to help you master Rust and get hired.
· Today I'm teaching you how to build Rust APIs that are impossible to misuse by taking advantage of generics and zero-sized types!
FREE Rust Cheat Sheet: letsgetrusty.com/cheatsheet
Code: github.com/letsgetrusty/generics_and_zero_sized_types
Chapters:
0:00 Intro
0:28 Example overview
2:30 First solution
4:20 Second solution
8:13 Third solution
14:18 Outro
Join our Rust Live Accelerator waitlist (free Rust Job-Ready Roadmap inside):
letsgetrusty.com/join
Let’s Get Rusty is the #1 Rust education & career development platform for engineers who want real-world skills and results. We combine a structured curriculum, industry-grade projects, expert review and feedback, and our Rust recruiter network — to help you master Rust and get hired.
· Today I'm teaching you how to build Rust APIs that are impossible to misuse by taking advantage of generics and zero-sized types!
FREE Rust Cheat Sheet: letsgetrusty.com/cheatsheet
Code: github.com/letsgetrusty/generics_and_zero_sized_types
Chapters:
0:00 Intro
0:28 Example overview
2:30 First solution
4:20 Second solution
8:13 Third solution
14:18 Outro










