Skip to main content

parse_value

Function parse_value 

Source
pub async fn parse_value<R: AsyncBufRead + Unpin>(
    reader: &mut R,
) -> Result<Option<RespValue>>
Expand description

Parse a single RESP value from an async buffered reader.

Returns None if the connection was closed (EOF).