pub struct Context<M: FileManager> {
pub file_manager: M,
/* private fields */
}Expand description
A shared environment for database operations.
Fields
file_manager: MThe file manager for the ManagedFile implementor.
Implementations
Returns the context’s chunk cache.
Replaces the cache currently set with cache.
Replaces the vault currently set with vault.
Replaces the vault currently set with vault.
Trait Implementations
Auto Trait Implementations
impl<M> !RefUnwindSafe for Context<M>
impl<M> !UnwindSafe for Context<M>
Blanket Implementations
Mutably borrows from an owned value. Read more