Extracts the value from a successful TimeoutResult or throws an error.
The type of the result value
The TimeoutResult to unwrap
The success value
Error if the result is not in success state
Extracts the value from a successful TimeoutResult or throws an error.