Optimize deletes (#723)

Closes #710
This commit is contained in:
Paul Masurel
2019-12-13 09:50:00 +09:00
committed by GitHub
parent b9896c4962
commit dfbe337fe2
6 changed files with 70 additions and 59 deletions

View File

@@ -48,6 +48,9 @@ pub use self::mmap_directory::MmapDirectory;
pub use self::managed_directory::ManagedDirectory;
/// Struct used to prevent from calling [`terminate_ref`](trait.TerminatingWrite#method.terminate_ref) directly
///
/// The point is that while the type is public, it cannot be built by anyone
/// outside of this module.
pub struct AntiCallToken(());
/// Trait used to indicate when no more write need to be done on a writer