pub fn flush_environment(&self) -> Result<(), lmdb::Error> {
        if self.state.environment.is_manual_sync_enabled() {
            self.state.environment.sync()?
        }
        Ok(())
    }
/// Flushes the LMDB environment to disk when manual sync is enabled in the config.toml.
Flushes the LMDB environment to disk when manual sync is enabled in the config.toml.
Flushes the LMDB environment to disk when manual sync is enabled in the config . toml .
pub fn flush_environment(&self) -> Result<(), lmdb::Error> {
        if self.state.environment.is_manual_sync_enabled() {
            self.state.environment.sync()?
        }
        Ok(())
    }
pub fn flush_environment ( & self ) -> Result < ( ) , lmdb :: Error > { if self . state . environment . is_manual_sync_enabled ( ) { self . state . environment . sync ( ) ? } Ok ( ( ) ) }
Flushes the LMDB environment to disk when manual sync is enabled in the config.toml.
Flushes the LMDB environment to disk when manual sync is enabled in the config . toml .
&self
&self