Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Learn to Code with Rust
  • Table Of Contents Toc
Learn to Code with Rust

Learn to Code with Rust

By : Boris Paskhaver
5 (1)
close
close
Learn to Code with Rust

Learn to Code with Rust

5 (1)
By: Boris Paskhaver

Overview of this book

This course provides a comprehensive journey for mastering Rust, catering to both beginners and intermediate learners. It starts with guiding you through the setup process for macOS and Windows, ensuring you have the essential tools like Visual Studio Code, Cargo, and the Rust compiler installed. After laying a solid foundation, you'll dive into Rust's core concepts, including variables, data types, functions, and control flow. As you progress, you'll gain expertise in Rust's unique features like ownership, borrowing, and references, ensuring memory safety without a garbage collector. The course covers more advanced topics such as structs, enums, and generics, empowering you to write modular, reusable code. You'll also explore Rust's standard library, along with tools like the rand crate for randomness and Chrono for date-time handling. With practical projects and real-world examples, you'll develop confidence in using Rust to tackle real problems. The course concludes by focusing on error handling, testing, and code optimization. You'll master Rust’s error handling, implement unit and integration tests, and learn to optimize your code, preparing you for building everything from simple utilities to complex systems.
Table of Contents (27 chapters)
close
close
27
Congratulations!
You're currently viewing a free sample. Access the full title and Packt library for free now with a free trial.
Chapter: 17
Error Handling
Icon This video is locked
Icon
Icon
0:00
2.0x
1.5x
1.25x
1.0x
0.5x
caption settings
caption off
Icon Icon
ShowHide Transcripts Icon
CONTINUE WATCHING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Learn to Code with Rust
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon