pub struct SqliteDriver { /* private fields */ }Expand description
The sole SQLite driver, configured with admitted domains and preopened storage.
Implementations§
Source§impl SqliteDriver
impl SqliteDriver
Sourcepub fn new(domains: DomainCatalog, stores: PreopenedStores) -> Self
pub fn new(domains: DomainCatalog, stores: PreopenedStores) -> Self
Constructs the capsule driver.
Sourcepub fn library(
self,
locator: &StorageLocator,
) -> Result<RelationSiteLib, SiteError>
pub fn library( self, locator: &StorageLocator, ) -> Result<RelationSiteLib, SiteError>
Constructs the canonical loadable site library.
§Errors
Returns a registration refusal when the canonical driver manifest is invalid.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SqliteDriver
impl RefUnwindSafe for SqliteDriver
impl Send for SqliteDriver
impl Sync for SqliteDriver
impl Unpin for SqliteDriver
impl UnsafeUnpin for SqliteDriver
impl UnwindSafe for SqliteDriver
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