Trait db_core::SCDatabase
source · pub trait SCDatabase: Send + Sync + CloneSPDatabase {
Show 28 methods
fn ping<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait;
fn create_forge_instance<'life0, 'life1, 'async_trait>(
&'life0 self,
f: &'life1 CreateForge<'_>
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_forge<'life0, 'life1, 'async_trait>(
&'life0 self,
url: &'life1 Url
) -> Pin<Box<dyn Future<Output = DBResult<Forge>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn delete_forge_instance<'life0, 'life1, 'async_trait>(
&'life0 self,
url: &'life1 Url
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn forge_exists<'life0, 'life1, 'async_trait>(
&'life0 self,
url: &'life1 Url
) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn forge_type_exists<'life0, 'life1, 'async_trait>(
&'life0 self,
forge_type: &'life1 ForgeImplementation
) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_all_forges<'life0, 'async_trait>(
&'life0 self,
with_imports: bool,
offset: u32,
limit: u32
) -> Pin<Box<dyn Future<Output = DBResult<Vec<Forge>>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait;
fn add_user<'life0, 'life1, 'async_trait>(
&'life0 self,
u: &'life1 AddUser<'_>
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_user<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
username: &'life1 str,
url: &'life2 Url
) -> Pin<Box<dyn Future<Output = DBResult<User>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn user_exists<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
username: &'life1 str,
url: Option<&'life2 Url>
) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn delete_user<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
username: &'life1 str,
url: &'life2 Url
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn delete_repository<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
owner: &'life1 str,
name: &'life2 str,
url: &'life3 Url
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait;
fn repository_exists<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
name: &'life1 str,
owner: &'life2 str,
url: &'life3 Url
) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait;
fn get_all_repositories<'life0, 'async_trait>(
&'life0 self,
offset: u32,
limit: u32
) -> Pin<Box<dyn Future<Output = DBResult<Vec<Repository>>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait;
fn create_repository<'life0, 'life1, 'async_trait>(
&'life0 self,
r: &'life1 AddRepository<'_>
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn search_repository<'life0, 'life1, 'async_trait>(
&'life0 self,
query: &'life1 str
) -> Pin<Box<dyn Future<Output = DBResult<Vec<Repository>>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn add_starchart_to_introducer<'life0, 'life1, 'async_trait>(
&'life0 self,
url: &'life1 Url
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_all_introduced_starchart_instances<'life0, 'async_trait>(
&'life0 self,
offset: u32,
limit: u32
) -> Pin<Box<dyn Future<Output = DBResult<Vec<Starchart>>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait;
fn add_word_to_mini_index<'life0, 'life1, 'async_trait>(
&'life0 self,
word: &'life1 str
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn rm_word_from_mini_index<'life0, 'life1, 'async_trait>(
&'life0 self,
word: &'life1 str
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn is_word_mini_indexed<'life0, 'life1, 'async_trait>(
&'life0 self,
word: &'life1 str
) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn export_mini_index<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = DBResult<String>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait;
fn import_mini_index<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
starchart_instance_url: &'life1 Url,
mini_index: &'life2 str
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn rm_imported_mini_index<'life0, 'life1, 'async_trait>(
&'life0 self,
starchart_instance_url: &'life1 Url
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn search_mini_index<'life0, 'life1, 'async_trait>(
&'life0 self,
query: &'life1 str
) -> Pin<Box<dyn Future<Output = DBResult<Vec<String>>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn record_starchart_imports<'life0, 'life1, 'async_trait>(
&'life0 self,
starchart_url: &'life1 Url
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn rm_starchart_import<'life0, 'life1, 'async_trait>(
&'life0 self,
starchart_url: &'life1 Url
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn is_starchart_imported<'life0, 'life1, 'async_trait>(
&'life0 self,
starchart_url: &'life1 Url
) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>
where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}
Expand description
Starchart’s database requirements. To implement support for $Database, kindly implement this trait.
Required Methods§
sourcefn ping<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn ping<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = bool> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
ping DB
sourcefn create_forge_instance<'life0, 'life1, 'async_trait>(
&'life0 self,
f: &'life1 CreateForge<'_>
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn create_forge_instance<'life0, 'life1, 'async_trait>(
&'life0 self,
f: &'life1 CreateForge<'_>
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
create forge instance
sourcefn get_forge<'life0, 'life1, 'async_trait>(
&'life0 self,
url: &'life1 Url
) -> Pin<Box<dyn Future<Output = DBResult<Forge>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_forge<'life0, 'life1, 'async_trait>(
&'life0 self,
url: &'life1 Url
) -> Pin<Box<dyn Future<Output = DBResult<Forge>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
get forge instance data
sourcefn delete_forge_instance<'life0, 'life1, 'async_trait>(
&'life0 self,
url: &'life1 Url
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn delete_forge_instance<'life0, 'life1, 'async_trait>(
&'life0 self,
url: &'life1 Url
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
delete forge instance
sourcefn forge_exists<'life0, 'life1, 'async_trait>(
&'life0 self,
url: &'life1 Url
) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn forge_exists<'life0, 'life1, 'async_trait>(
&'life0 self,
url: &'life1 Url
) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
check if a forge instance exists
sourcefn forge_type_exists<'life0, 'life1, 'async_trait>(
&'life0 self,
forge_type: &'life1 ForgeImplementation
) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn forge_type_exists<'life0, 'life1, 'async_trait>(
&'life0 self,
forge_type: &'life1 ForgeImplementation
) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
check if forge type exists
sourcefn get_all_forges<'life0, 'async_trait>(
&'life0 self,
with_imports: bool,
offset: u32,
limit: u32
) -> Pin<Box<dyn Future<Output = DBResult<Vec<Forge>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_all_forges<'life0, 'async_trait>(
&'life0 self,
with_imports: bool,
offset: u32,
limit: u32
) -> Pin<Box<dyn Future<Output = DBResult<Vec<Forge>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get all forges
sourcefn add_user<'life0, 'life1, 'async_trait>(
&'life0 self,
u: &'life1 AddUser<'_>
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn add_user<'life0, 'life1, 'async_trait>(
&'life0 self,
u: &'life1 AddUser<'_>
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
add new user to database
sourcefn get_user<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
username: &'life1 str,
url: &'life2 Url
) -> Pin<Box<dyn Future<Output = DBResult<User>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn get_user<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
username: &'life1 str,
url: &'life2 Url
) -> Pin<Box<dyn Future<Output = DBResult<User>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
get user data
sourcefn user_exists<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
username: &'life1 str,
url: Option<&'life2 Url>
) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn user_exists<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
username: &'life1 str,
url: Option<&'life2 Url>
) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
check if an user exists. When url of a forge instance is provided, username search is done only on that forge
sourcefn delete_user<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
username: &'life1 str,
url: &'life2 Url
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn delete_user<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
username: &'life1 str,
url: &'life2 Url
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
delete user
sourcefn delete_repository<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
owner: &'life1 str,
name: &'life2 str,
url: &'life3 Url
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn delete_repository<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
owner: &'life1 str,
name: &'life2 str,
url: &'life3 Url
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
delete repository
sourcefn repository_exists<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
name: &'life1 str,
owner: &'life2 str,
url: &'life3 Url
) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn repository_exists<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
name: &'life1 str,
owner: &'life2 str,
url: &'life3 Url
) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
check if a repository exists.
sourcefn get_all_repositories<'life0, 'async_trait>(
&'life0 self,
offset: u32,
limit: u32
) -> Pin<Box<dyn Future<Output = DBResult<Vec<Repository>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_all_repositories<'life0, 'async_trait>(
&'life0 self,
offset: u32,
limit: u32
) -> Pin<Box<dyn Future<Output = DBResult<Vec<Repository>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get all repositories
sourcefn create_repository<'life0, 'life1, 'async_trait>(
&'life0 self,
r: &'life1 AddRepository<'_>
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn create_repository<'life0, 'life1, 'async_trait>(
&'life0 self,
r: &'life1 AddRepository<'_>
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
add new repository to database.
sourcefn search_repository<'life0, 'life1, 'async_trait>(
&'life0 self,
query: &'life1 str
) -> Pin<Box<dyn Future<Output = DBResult<Vec<Repository>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn search_repository<'life0, 'life1, 'async_trait>(
&'life0 self,
query: &'life1 str
) -> Pin<Box<dyn Future<Output = DBResult<Vec<Repository>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Search all repositories
sourcefn add_starchart_to_introducer<'life0, 'life1, 'async_trait>(
&'life0 self,
url: &'life1 Url
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn add_starchart_to_introducer<'life0, 'life1, 'async_trait>(
&'life0 self,
url: &'life1 Url
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Add Starchart instance to introducer
sourcefn get_all_introduced_starchart_instances<'life0, 'async_trait>(
&'life0 self,
offset: u32,
limit: u32
) -> Pin<Box<dyn Future<Output = DBResult<Vec<Starchart>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_all_introduced_starchart_instances<'life0, 'async_trait>(
&'life0 self,
offset: u32,
limit: u32
) -> Pin<Box<dyn Future<Output = DBResult<Vec<Starchart>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get all introduced Starchart instances
sourcefn add_word_to_mini_index<'life0, 'life1, 'async_trait>(
&'life0 self,
word: &'life1 str
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn add_word_to_mini_index<'life0, 'life1, 'async_trait>(
&'life0 self,
word: &'life1 str
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Add word to mini index
sourcefn rm_word_from_mini_index<'life0, 'life1, 'async_trait>(
&'life0 self,
word: &'life1 str
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn rm_word_from_mini_index<'life0, 'life1, 'async_trait>(
&'life0 self,
word: &'life1 str
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Remove word from mini index
sourcefn is_word_mini_indexed<'life0, 'life1, 'async_trait>(
&'life0 self,
word: &'life1 str
) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn is_word_mini_indexed<'life0, 'life1, 'async_trait>(
&'life0 self,
word: &'life1 str
) -> Pin<Box<dyn Future<Output = DBResult<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Check if word exists in mini index
sourcefn export_mini_index<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = DBResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn export_mini_index<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = DBResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
consolidate and export mini index
sourcefn import_mini_index<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
starchart_instance_url: &'life1 Url,
mini_index: &'life2 str
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn import_mini_index<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
starchart_instance_url: &'life1 Url,
mini_index: &'life2 str
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Import mini-index
sourcefn rm_imported_mini_index<'life0, 'life1, 'async_trait>(
&'life0 self,
starchart_instance_url: &'life1 Url
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn rm_imported_mini_index<'life0, 'life1, 'async_trait>(
&'life0 self,
starchart_instance_url: &'life1 Url
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Delete imported mini-index
sourcefn search_mini_index<'life0, 'life1, 'async_trait>(
&'life0 self,
query: &'life1 str
) -> Pin<Box<dyn Future<Output = DBResult<Vec<String>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn search_mini_index<'life0, 'life1, 'async_trait>(
&'life0 self,
query: &'life1 str
) -> Pin<Box<dyn Future<Output = DBResult<Vec<String>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Search mini index
sourcefn record_starchart_imports<'life0, 'life1, 'async_trait>(
&'life0 self,
starchart_url: &'life1 Url
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn record_starchart_imports<'life0, 'life1, 'async_trait>(
&'life0 self,
starchart_url: &'life1 Url
) -> Pin<Box<dyn Future<Output = DBResult<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Mark a Starchart instance as imported