Struct centraldogma::ProjectClient [−][src]
pub struct ProjectClient<'a> { /* fields omitted */ }
Expand description
A temporary client within context of a project.
Created by Client::project()
Implements crate::RepoService
Trait Implementations
fn create_repo<'life0, 'life1, 'async_trait>(
&'life0 self,
repo_name: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Repository, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn create_repo<'life0, 'life1, 'async_trait>(
&'life0 self,
repo_name: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Repository, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Creates a repository.
Purges a repository that was removed before.
fn unremove_repo<'life0, 'life1, 'async_trait>(
&'life0 self,
repo_name: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Repository, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
fn unremove_repo<'life0, 'life1, 'async_trait>(
&'life0 self,
repo_name: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<Repository, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Unremoves a repository.
fn list_repos<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<Repository>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_repos<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<Repository>, Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Retrieves the list of the repositories.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ProjectClient<'a>
impl<'a> Send for ProjectClient<'a>
impl<'a> Sync for ProjectClient<'a>
impl<'a> Unpin for ProjectClient<'a>
impl<'a> !UnwindSafe for ProjectClient<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more