expected ~master (2021-10-11T18:48:43Z)
Dub
Repo
Expected.error
expected
Expected
Undocumented in source. Be warned that the author may not have intended to support it.
inout
(
E
)
error
[@property getter]
E
error
[@property getter]
struct
Expected
(T, E = string, Hook = Abort)
@
property
ref
static if
(!(
!isChecked!Hook
))
E
error
(
)
if
(
!
is
(
E
==
void
) &&
(
isVoidValueEnabled
!
Hook
||
!
is
(
T
==
void
)
)
)
Meta
Source
See Implementation
expected
Expected
constructors
this
destructors
~this
functions
opAssign
opCast
opEquals
popFront
toHash
postblits
this(this)
properties
empty
error
front
hasError
hasValue
value