Method lrs::file::File::data_sync

Flushes enough data and mate-data to the disk that the content of the file can be read again.

Syntax

impl File {
    fn data_sync(&self) -> Result<(), Errno>
}

Remarks

In some cases, this is more efficient than sync.

See also