October 2019
Intermediate to advanced
444 pages
10h 37m
English
Whenever a binary result is to be returned from a function, the choice is between using Result or Option. Both can communicate a failed function call—but the former provides too much specificity, while the latter may give too little. While this is a decision to make for the specific situation, Rust's types provide the tools to move between them with ease. Let's go over them in this recipe.
Read now
Unlock full access