dredis ~master (2018-04-17T08:05:27Z)
Dub
Repo
Response.opCast
redis
response
Response
Allows casting a Response to an integral, bool or string
T
opCast
()
struct
Response
T
opCast
(
T
)
(
)
if
(
is
(
T
==
bool
) ||
is
(
T
==
byte
)
||
is
(
T
==
short
)
||
is
(
T
==
int
)
||
is
(
T
==
long
)
||
is
(
T
==
string
)
)
C
[]
opCast
()
Meta
Source
See Implementation
redis
response
Response
functions
opApply
opApplyReverse
opCast
properties
toBool
toBytes
toDiagnosticString
toInt
toString
toStringArray
Allows casting a Response to an integral, bool or string