Sealed class representing a Result, which can be either a Success or a Failure.
The type of the value contained in a Success.
The type of the value contained in a Failure.
Data class representing a Failure.
Data class representing a Success.