pub trait RegistryRpc: Send + Sync {
type Repo: RepositoryRpc;
// Required methods
fn repo(&self, repo_id: &str) -> Self::Repo;
fn list<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<TrackedRepository>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get<'life0, 'life1, 'async_trait>(
&'life0 self,
value: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<TrackedRepository>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_by_name<'life0, 'life1, 'async_trait>(
&'life0 self,
value: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<TrackedRepository>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn clone<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 CloneRequest,
) -> Pin<Box<dyn Future<Output = Result<TrackedRepository>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn register<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 RegisterRequest,
) -> Pin<Box<dyn Future<Output = Result<TrackedRepository>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn remove<'life0, 'life1, 'async_trait>(
&'life0 self,
value: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn health_check<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<HealthStatus>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn clone_stream<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 CloneRequest,
) -> Pin<Box<dyn Future<Output = Result<MoqStreamHandle>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_blob<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 GetBlobRequest,
) -> Pin<Box<dyn Future<Output = Result<MoqStreamHandle>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn put_blob<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 PutBlobRequest,
) -> Pin<Box<dyn Future<Output = Result<PutBlobResult>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn ingest_at9p_candidate<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 At9pCandidateRequest,
) -> Pin<Box<dyn Future<Output = Result<AcceptedAt9pStateInfo>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Expand description
Generated RPC trait for the Registry service.