Key question
How do I control data ownership and handle failures in a compiled program?
Check your understanding
Find an example, an application and a limit. Explain the concept without using its name, then compare your explanation with a primary source.
Loading your learning…
Claims to examine
Making ownership and recoverable failure explicit helps a caller understand how a small program uses data and handles expected errors.
Follow a learning route
How do I control data ownership and handle failures in a compiled program?
Learn ownership, borrowing and explicit errors through a small Rust file tool.
Reading connections
The Rust Programming Language: Installation
The Rust Programming Language: Hello, Cargo!
The Rust Programming Language: Functions
The Rust Programming Language: Control Flow
The Rust Programming Language: What Is Ownership?
The Rust Programming Language: References and Borrowing
The Rust Programming Language: The Slice Type
Rust standard library: str