fidl_fuchsia_pkgTrait RepositoryManagerProxyInterface
Source pub trait RepositoryManagerProxyInterface: Send + Sync {
type AddResponseFut: Future<Output = Result<RepositoryManagerAddResult, Error>> + Send;
type RemoveResponseFut: Future<Output = Result<RepositoryManagerRemoveResult, Error>> + Send;
type AddMirrorResponseFut: Future<Output = Result<RepositoryManagerAddMirrorResult, Error>> + Send;
type RemoveMirrorResponseFut: Future<Output = Result<RepositoryManagerRemoveMirrorResult, Error>> + Send;
// Required methods
fn add(&self, repo: &RepositoryConfig) -> Self::AddResponseFut;
fn remove(&self, repo_url: &str) -> Self::RemoveResponseFut;
fn add_mirror(
&self,
repo_url: &str,
mirror: &MirrorConfig,
) -> Self::AddMirrorResponseFut;
fn remove_mirror(
&self,
repo_url: &str,
mirror_url: &str,
) -> Self::RemoveMirrorResponseFut;
fn list(
&self,
iterator: ServerEnd<RepositoryIteratorMarker>,
) -> Result<(), Error>;
}