pub struct MemChunksFile { /* private fields */ }Expand description
An in-memory file implementation that stores data in fixed-size chunks. Suitable for temporary files.
Implementations§
Source§impl MemChunksFile
impl MemChunksFile
Sourcepub fn waiting_for_write() -> Self
pub fn waiting_for_write() -> Self
Creates a MemChunksFile where the chunk size is determined by the size of the first write operation.
This is often used for the main DB file implementation.
Trait Implementations§
Source§impl Default for MemChunksFile
impl Default for MemChunksFile
Auto Trait Implementations§
impl Freeze for MemChunksFile
impl RefUnwindSafe for MemChunksFile
impl Send for MemChunksFile
impl Sync for MemChunksFile
impl Unpin for MemChunksFile
impl UnwindSafe for MemChunksFile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more