Skip to main content

write_bytes_sync

Function write_bytes_sync 

Source
pub fn write_bytes_sync(path: &Path, bytes: &[u8]) -> Result<(), Error>
Expand description

Sync write helper for outer CLI dispatch (no active Tokio worker). Prefer write_bytes_blocking when inside async fn / block_on_*.