vadgl ~master (2026-08-09T23:38:48.9439982)
Dub
Repo
unwrap_or_else
result
Undocumented in source. Be warned that the author may not have intended to support it.
T
unwrap_or_else
(Result!(E, T) result)
T
unwrap_or_else
(Result!(E, T) result)
T
unwrap_or_else
(Result!(E, T) result, string file, size_t line)
T
unwrap_or_else
(
alias
fnc
E
T
)
(
Result
!(
E
,
T
)
result
,
string
file
= __FILE__
,
size_t
line
= __LINE__
)
if
(
isSomeFunction
!
fnc
&&
isFuncValidB
!(
fnc
,
typeof
(
result
))
)
T
unwrap_or_else
(Result!(E, T) result, string file, size_t line)
Meta
Source
See Implementation
result
functions
throw_on_error
throw_on_error_
unwrap_or_else
mixin templates
injectEnum
templates
Result
ResultPartial
match