What Is Option?

Option is a built-in enum in the Rust standard library. It has two variants Some and None.

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy