Trait buhtig::Repositories

source ·
pub trait Repositories {
    // Required methods
    fn list_repositories<'life0, 'async_trait>(
        &'life0 self,
        input: ListRepositoriesRequest
    ) -> Pin<Box<dyn Future<Output = Result<ListRepositoriesResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_commit<'life0, 'async_trait>(
        &'life0 self,
        input: GetCommitRequest
    ) -> Pin<Box<dyn Future<Output = Result<GetCommitResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_repository_content<'life0, 'async_trait>(
        &'life0 self,
        input: GetRepositoryContentRequest
    ) -> Pin<Box<dyn Future<Output = Result<Option<GetRepositoryContentResponse>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn list_repositories<'life0, 'async_trait>( &'life0 self, input: ListRepositoriesRequest ) -> Pin<Box<dyn Future<Output = Result<ListRepositoriesResponse>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn get_commit<'life0, 'async_trait>( &'life0 self, input: GetCommitRequest ) -> Pin<Box<dyn Future<Output = Result<GetCommitResponse>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

source

fn get_repository_content<'life0, 'async_trait>( &'life0 self, input: GetRepositoryContentRequest ) -> Pin<Box<dyn Future<Output = Result<Option<GetRepositoryContentResponse>>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Implementors§