pub fn discard(&mut self) {
		if let Some((_, _, bi)) = self.rewind {
			self.buffer_index = bi;
		}
		self.buffer.clear();
		self.remove_log.discard();
		self.rewind = None;
	}
/// Discard the current, non synced state of the backend.
Discard the current, non synced state of the backend.
Discard the current non synced state of the backend .
pub fn discard(&mut self) {
		if let Some((_, _, bi)) = self.rewind {
			self.buffer_index = bi;
		}
		self.buffer.clear();
		self.remove_log.discard();
		self.rewind = None;
	}
pub fn discard ( & mut self ) { if let Some ( ( _ , _ , bi ) ) = self . rewind { self . buffer_index = bi ; } self . buffer . clear ( ) ; self . remove_log . discard ( ) ; self . rewind = None ; }
Discard the current, non synced state of the backend.
Discard the current non synced state of the backend .
&mut self