vtypechoice ~master (2022-05-22T19:59:43Z)
Dub
Repo
andThen
vtypechoice
result
Undocumented in source. Be warned that the author may not have intended to support it.
auto
andThen
(Result!(T, E) result)
auto
andThen
(Result!(T, E) result)
auto
andThen
(
alias
pred
T
E
)
(
auto
ref
scope
Result
!(
T
,
E
)
result
)
if
(
isOk
!(
typeof
(
pred
(
T.init
)))
)
auto
andThen
(Result!(T, E) result)
auto
andThen
(Result!(T, E) result)
Meta
Source
See Implementation
vtypechoice
result
aliases
isErr
isOk
isResult
functions
andThen
err
flatten
handle
handleErr
has
hasErr
ok
or
orElse
unwrap
unwrapErr
structs
Err
Ok
Result
templates
fmap
fmapErr
fmapOr
fmapOrElse