Skip to main content

fsync

Function fsync 

Source
pub fn fsync(file: File) -> Result<DiskIoFuture>
Expand description

Fsync a file, flushing all data and metadata to disk.

ยงPanics

Panics if called outside the ringline async executor.