Struct Result<T>
A result type frequently used inside Akka.Streams and elsewhere.
Assembly: Akka.dll
Syntax
public readonly record struct Result<T> : IEquatable<Result<T>>
Type Parameters
Constructors
|
Edit this page
View Source
Result(Exception)
Declaration
public Result(Exception exception)
Parameters
|
Edit this page
View Source
Result(T)
Declaration
Parameters
Type |
Name |
Description |
T |
value |
|
Fields
|
Edit this page
View Source
Exception
Declaration
public readonly Exception? Exception
Field Value
|
Edit this page
View Source
IsSuccess
true
if the result is successful, false
otherwise.
Declaration
public readonly bool IsSuccess
Field Value
|
Edit this page
View Source
Value
Declaration
Field Value
Methods
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods