fn sync(&mut self) -> io::Result<()> {
		self.file.sync_data()?;
		self.mmap = Some(unsafe { memmap::Mmap::map(&self.file)? });
		Ok(())
	}
/// Syncs all writes (fsync), reallocating the memory map to make the newly
/// written data accessible.
Syncs all writes (fsync), reallocating the memory map to make the newly
written data accessible.
Syncs all writes ( fsync ) reallocating the memory map to make the newly written data accessible .
fn sync(&mut self) -> io::Result<()> {
		self.file.sync_data()?;
		self.mmap = Some(unsafe { memmap::Mmap::map(&self.file)? });
		Ok(())
	}
fn sync ( & mut self ) -> io :: Result < ( ) > { self . file . sync_data ( ) ? ; self . mmap = Some ( unsafe { memmap :: Mmap :: map ( & self . file ) ? } ) ; Ok ( ( ) ) }
Syncs all writes (fsync), reallocating the memory map to make the newly
written data accessible.
Syncs all writes ( fsync ) reallocating the memory map to make the newly written data accessible .
&mut self