Converts a Result where both success and error types are the same to an Option. Success values are converted to Some, and Failure values are converted to None.
Converts a Result where both success and error types are the same to an Option. Success values are converted to Some, and Failure values are converted to None.