Result and Enum
This lesson will teach you about a built-in enum called result.
What Is Result?
Result is a built-in enum in the Rust standard library. It has two variants Ok(T)
and Err(E)
.
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy