Function decode_tokio_with

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

Asynchronously decodes a value from the given reader using a custom decoder.