Trait vmm_sys_util::file_traits::FileSync[][src]

pub trait FileSync {
    fn fsync(&mut self) -> Result<()>;
}

A trait for flushing the contents of a file to disk.

This is equivalent to std::fd::File::sync_all method, but wrapped in a trait so that it can be implemented for other types.

Required methods

fn fsync(&mut self) -> Result<()>[src]

Flush buffers related to this file to disk.

Loading content...

Implementations on Foreign Types

impl FileSync for File[src]

Loading content...

Implementors

Loading content...