Struct MemChunksFile
Source pub struct MemChunksFile { }
Expand description
An in-memory file implementation that stores data in fixed-size chunks. Suitable for temporary files.
Creates a new MemChunksFile with a specified chunk size.
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.
Returns the “default value” for a type.
Read more
Abstraction of xRead, returns true for SQLITE_OK and false for SQLITE_IOERR_SHORT_READ
Abstraction of xWrite
Abstraction of xTruncate
Abstraction of xSync
Abstraction of xFileSize
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.