Skip to main content

VelesDbExt

Trait VelesDbExt 

Source
pub trait VelesDbExt<R: Runtime> {
    // Required method
    fn velesdb(&self) -> Option<SimpleIndexHandle>;
}
Expand description

Extension trait for easy access to VelesDB from Tauri AppHandle.

Required Methods§

Source

fn velesdb(&self) -> Option<SimpleIndexHandle>

Returns a handle to the simple vector index, or None if not initialized.

Returns None when init() has not been called before this method.

Implementors§

Source§

impl<R: Runtime, T: Manager<R>> VelesDbExt<R> for T