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