Lead AI-Native Products with Microsoft's Agentic AI Program
The Fastest Way to Become a Backend Developer Online
Overview
Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
Explore the power and versatility of Rust's where clause in this 27-minute conference talk from RustLatam 2019. Dive into the essential tool for generic Rust programming, uncovering its full expressiveness and creative applications. Learn how to leverage where clauses to maintain clean, flexible, and sound code while preventing misuse. Gain insights into basic building blocks for navigating complex constraints, and discover advanced examples involving traits, state machines, and database queries. Enhance your Rust programming skills and unlock new possibilities for writing efficient and robust code.
Syllabus
Introduction
The Where Clause
Constraints
Thread API
Generic code
Finding the right level
Advanced examples
Traits
State Machines
Transition to Loop
Database Query
The Problem
Example
Conclusion
Taught by
Rust