Derk-Jan Karrenbeld
01/24/2019, 7:41 PMResult<T> is implemented by an inline class and is optimized for a successful case. Success is stored as a value of type T directly, without additional boxing, while failure exception is wrapped into an internal Result.Failure class that is not exposed through binary interface and may be changed later.