Function decode_sync_lgio_with

Source
pub fn decode_sync_lgio_with<D: Decoder, R: BufRead + ?Sized>(
    reader: &mut R,
    decoder: D,
) -> Result<D::Value, ReadError<D::Error, R::ReadError>>
Available on crate feature lgio only.
Expand description

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