pub async fn co_write_yaml<S: Serialize>(
path: impl AsRef<Path>,
content: &S,
) -> Result<()>Available on crate features
coroutine and fs and yaml only.Expand description
Async version of write_yaml. The serialization part is synchronous, since it does not
involve IO.