phobos-next ~master (2022-05-18T09:58:38.2169964)
Dub
Repo
Expected.opAssign
nxt
expected
Expected
Assign from unexpected value
unexpectedValue.
void
opAssign
(T expectedValue)
void
opAssign
(E unexpectedValue)
struct
Expected
(T, E = Exception)
@
trusted
void
opAssign
(
E
unexpectedValue
)
if
(
!
isInstanceOf
!(
Unexpected
,
T
) &&
!
is
(
T
==
void
)
)
Meta
Source
See Implementation
nxt
expected
Expected
constructors
this
functions
apply
hasExpectedValue
opAssign
popFront
valueOr
properties
empty
front
Assign from unexpected value unexpectedValue.