Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
๐
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Rust Async/Await
ยท
Module 1
Rust Foundations for an Async Media Player
1
Configuring Separate Library and Binary Targets in Cargo
Configure a Cargo project with separate library and binary targets for the player.
2
Predicting Ownership Transfers and Drop Points in Rust
Predict ownership transfers and drop points in Rust code.
3
Refactoring Shared Mutable Code with Rust Borrowing Rules
Refactor shared mutable code to use Rust references and borrowing rules.
4
Modeling Player State with Structs, Enums, and Pattern Matching
Model player state with structs, enums, and exhaustive pattern matching.
5
Propagating Errors with Result and the Question-Mark Operator
Propagate recoverable failures with Result and the question-mark operator.
6
Reusable Behavior with Traits and Generic Bounds
Implement reusable behavior with traits and generic bounds.
7
Interpreting Lifetimes in Borrowed Parser APIs
Interpret lifetime annotations in APIs that expose borrowed parser data.
8
Constructing Move Closures for Callbacks and Async Tasks
Construct move closures with owned captures for callbacks and asynchronous tasks.
Next module isn't ready yet,
Back to course
Previous module
Next module