pub trait ReadHandle: Send + Sync {
    // Required methods
    fn builder_lookup<'life0, 'life1, 'async_trait>(
        &'life0 self,
        fingerprint: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Uuid, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn builder_get<'life0, 'async_trait>(
        &'life0 self,
        builder: Uuid
    ) -> Pin<Box<dyn Future<Output = Result<Builder, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn builder_list<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Uuid>, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn builder_triples<'life0, 'async_trait>(
        &'life0 self,
        builder: Uuid
    ) -> Pin<Box<dyn Future<Output = Result<BTreeSet<String>, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn crate_list<'life0, 'life1, 'async_trait>(
        &'life0 self,
        name: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<String>, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn crate_info<'life0, 'life1, 'async_trait>(
        &'life0 self,
        name: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<CrateInfo, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn crate_versions<'life0, 'life1, 'async_trait>(
        &'life0 self,
        name: &'life1 str
    ) -> Pin<Box<dyn Future<Output = Result<Vec<String>, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
    fn crate_version_info<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        name: &'life1 str,
        version: &'life2 str
    ) -> Pin<Box<dyn Future<Output = Result<VersionInfo, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
    fn job_info<'life0, 'async_trait>(
        &'life0 self,
        job: Uuid
    ) -> Pin<Box<dyn Future<Output = Result<JobInfo, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn task_list<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
        &'life0 self,
        krate: Option<&'life1 str>,
        version: Option<&'life2 str>,
        task: Option<&'life3 str>,
        triple: Option<&'life4 str>
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Task>, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait,
             'life4: 'async_trait;
}

Required Methods§

source

fn builder_lookup<'life0, 'life1, 'async_trait>( &'life0 self, fingerprint: &'life1 str ) -> Pin<Box<dyn Future<Output = Result<Uuid, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn builder_get<'life0, 'async_trait>( &'life0 self, builder: Uuid ) -> Pin<Box<dyn Future<Output = Result<Builder, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn builder_list<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<Vec<Uuid>, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn builder_triples<'life0, 'async_trait>( &'life0 self, builder: Uuid ) -> Pin<Box<dyn Future<Output = Result<BTreeSet<String>, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn crate_list<'life0, 'life1, 'async_trait>( &'life0 self, name: &'life1 str ) -> Pin<Box<dyn Future<Output = Result<Vec<String>, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn crate_info<'life0, 'life1, 'async_trait>( &'life0 self, name: &'life1 str ) -> Pin<Box<dyn Future<Output = Result<CrateInfo, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn crate_versions<'life0, 'life1, 'async_trait>( &'life0 self, name: &'life1 str ) -> Pin<Box<dyn Future<Output = Result<Vec<String>, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

source

fn crate_version_info<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, name: &'life1 str, version: &'life2 str ) -> Pin<Box<dyn Future<Output = Result<VersionInfo, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

source

fn job_info<'life0, 'async_trait>( &'life0 self, job: Uuid ) -> Pin<Box<dyn Future<Output = Result<JobInfo, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn task_list<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>( &'life0 self, krate: Option<&'life1 str>, version: Option<&'life2 str>, task: Option<&'life3 str>, triple: Option<&'life4 str> ) -> Pin<Box<dyn Future<Output = Result<Vec<Task>, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, 'life4: 'async_trait,

Implementors§

source§

impl<T: AsDatabase + Send + Sync> ReadHandle for T
where for<'a> <T as AsDatabase>::Client<'a>: Send + Sync,