Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

The Enum and Match Types | Rust Book

4.2K views on YouTube

Chapter 6.1. The Enum and Match Types
In this chapter, we will dive into enums in Rust, a powerful feature that allows you to define types by enumerating their possible values. We’ll also explore the match control flow construct, which enables pattern matching against enums, helping to handle different scenarios in a concise and readable way.

Hey everyone, Welcome to the Rust Lang Book Series by Piyush Garg. In this series, we are going to learn Rust programming language together. We’ll go through each Rust lang book chapter and understand the core of Rust Programming language.

The Rust Book: https://doc.rust-lang.org/book
Rust Playlist: https://youtube.com/playlist?list=PLinedj3B30sAnCkwmMb5Ape5Ibqp0R5bP&si=5NYGe7NrLBZeKrQx

Checkout Courses
Full Stack Twitter Clone: https://learn.piyushgarg.dev/learn/twitter-clone
Master Docker: https://learn.piyushgarg.dev/learn/docker

Follow Me
X/Twitter: https://x.com/piyushgarg_dev
LinkedIn: https://www.linkedin.com/in/piyushgarg195/
Website: https://www.piyushgarg.dev/

Video Titles
The Rust Programming Language
The Rust Book
Rust Chapter 4
Rust Ownership
Rust Structs

Hashtags
#rust #rustlang #rustprogramming #programming #coding #nodejs #javascript #mernstack #mernstackdeveloper #javascript #webdevelopment #rustvsjs #developers #devops