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