Documentation
Dlang.org
Expected.this
expectations
Expected
Constructs an
Expected
object that contains an expected value.
this
(
T
value
)
struct
Expected
(T, E = Exception)
this
(
T
value
)
if
(
!
is
(
T
==
E
) &&
!
is
(
T
==
void
)
)
this
(
E
err
)
Meta
Source
See Implementation
expectations
Expected
constructors
this
functions
error
hasValue
opAssign
opEquals
value
valueOr
Constructs an Expected object that contains an expected value.