distssh v2.0.1 (2019-10-06T18:28:00Z)
Dub
Repo
tryMatch.tryMatch
sumtype
tryMatch
The actual
tryMatch
function.
template
tryMatch
(handlers...)
version(D_Exceptions)
auto
tryMatch
(
Self
)
(
auto
ref
Self
self
)
if
(
is
(
Self
:
SumType
!
TypeArgs
,
TypeArgs
...
)
)
Parameters
self
Self
A
SumType
object
Meta
Source
See Implementation
sumtype
tryMatch
functions
tryMatch
The actual tryMatch function.