pub async fn read_options_async(
reader: &mut (impl AsyncRead + Unpin),
) -> Result<(CrateVersion, EncodingOptions), DecodeError>
Expand description
Read encoding options from the beginning of the stream asynchronously.
pub async fn read_options_async(
reader: &mut (impl AsyncRead + Unpin),
) -> Result<(CrateVersion, EncodingOptions), DecodeError>
Read encoding options from the beginning of the stream asynchronously.