pub trait FileReadExclusive<B: BlockData>: FileRead<B> { fn upgrade(self) -> <Self::File as File<B>>::Write; }
An exclusive read lock on a File
File
Upgrade this read lock to a write lock