Skip to main content

co_read

Function co_read 

Source
pub async fn co_read<T: for<'a> Deserialize<'a>>(
    x: impl AsyncRead + Unpin,
) -> Result<T>
Available on crate features coroutine and parse and yaml only.
Expand description

Parse value from an async reader that yields YAML