pub async fn write_bytes_blocking(
path: PathBuf,
bytes: Vec<u8>,
) -> Result<(), Error>Expand description
Write bytes on the Tokio blocking pool (docsrs: never pin async workers with
std::fs for non-trivial payloads).
ยงCancel safety
spawn_blocking work is not abortable after start (docsrs). Cancellation
must cut admission at the async gate; this helper is for short-lived disk I/O.