Skip to main content

format_reply

Function format_reply 

Source
pub fn format_reply(reply: &Reply, indent: usize) -> String
Expand description

Pretty-print a reply roughly the way redis-cli does. Arrays are numbered + indented; bulk strings are quoted; nil shows as (nil).