Skip to content

Glossary: Rust Basics

Result

Also written: Ok, Err

An enum for an operation that might fail: `Ok(value)` if it worked, `Err(error)` if it didn't, with the reason.

Where the book teaches it

Related terms

Option? operatorunwrap