pub struct Module<'vtab, T: VTab<'vtab>> { /* private fields */ }Available on crate feature
vtab only.Expand description
Virtual table module
(See SQLite doc)
Implementations§
Source§impl<'vtab, T: VTab<'vtab>> Module<'vtab, T>
impl<'vtab, T: VTab<'vtab>> Module<'vtab, T>
Sourcepub const fn eponymous_only_module() -> Self
pub const fn eponymous_only_module() -> Self
Create an eponymous only virtual table implementation.
Step 2 of Creating New Virtual Table Implementations.
Sourcepub const fn read_only_module() -> Selfwhere
T: CreateVTab<'vtab>,
pub const fn read_only_module() -> Selfwhere
T: CreateVTab<'vtab>,
Create a read-only virtual table implementation.
Step 2 of Creating New Virtual Table Implementations.
Sourcepub const fn update_module() -> Selfwhere
T: UpdateVTab<'vtab>,
pub const fn update_module() -> Selfwhere
T: UpdateVTab<'vtab>,
Create a modifiable virtual table implementation.
Step 2 of Creating New Virtual Table Implementations.
Sourcepub const fn update_module_with_tx() -> Selfwhere
T: TransactionVTab<'vtab>,
pub const fn update_module_with_tx() -> Selfwhere
T: TransactionVTab<'vtab>,
Create a modifiable virtual table implementation with support for transactions.
Step 2 of Creating New Virtual Table Implementations.
Sourcepub const fn without_rowid(self) -> Self
pub const fn without_rowid(self) -> Self
No xRowid
Sourcepub const fn without_sync(self) -> Selfwhere
T: TransactionVTab<'vtab>,
pub const fn without_sync(self) -> Selfwhere
T: TransactionVTab<'vtab>,
No xSync
Auto Trait Implementations§
impl<'vtab, T> Freeze for Module<'vtab, T>
impl<'vtab, T> RefUnwindSafe for Module<'vtab, T>
impl<'vtab, T> Send for Module<'vtab, T>
impl<'vtab, T> Sync for Module<'vtab, T>
impl<'vtab, T> Unpin for Module<'vtab, T>
impl<'vtab, T> UnsafeUnpin for Module<'vtab, T>
impl<'vtab, T> UnwindSafe for Module<'vtab, T>
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