Function decode_tokio

Source
pub async fn decode_tokio<D: Decoder + Default>(
    reader: impl AsyncBufRead,
) -> Result<D::Value, ReadError<D::Error>>
Available on crate feature tokio only.
Expand description

Asynchronously decodes a value from the given reader.