Introduction

Mistakes happen, and that's okay. We are only human after all. The important thing in life and in programming is not which errors we make, but how we deal with them. Rust helps us with the programming aspect of this principle by providing us with an error handling concept that guarantees that we have to think about the consequences of failure when dealing with functions that can fail, as they don't return a value directly but wrapped in a Result that has to be opened somehow. The only thing left is designing our code in a way that integrates nicely with this concept.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.17.162.214