pub trait HttpLinkExt {
// Required methods
async fn application_path_decorators(
&self,
repo_name: &str,
) -> Result<Vec<Vec<String>>>;
async fn relink_http_calls<F>(
&self,
facts: &RepoHttpFacts,
link: F,
) -> Result<RelinkSummary>
where F: Fn(&HttpLinkInputs) -> Vec<(String, String)>;
}Required Methods§
Sourceasync fn application_path_decorators(
&self,
repo_name: &str,
) -> Result<Vec<Vec<String>>>
async fn application_path_decorators( &self, repo_name: &str, ) -> Result<Vec<Vec<String>>>
The decorators of the repository’s @ApplicationPath types.
Sourceasync fn relink_http_calls<F>(
&self,
facts: &RepoHttpFacts,
link: F,
) -> Result<RelinkSummary>
async fn relink_http_calls<F>( &self, facts: &RepoHttpFacts, link: F, ) -> Result<RelinkSummary>
Record facts on their :Repository node, then replace every
HTTP_CALLS edge with the links link computes (client call UUID,
endpoint UUID) from the endpoints, client calls and repository facts
of the graph.
One transaction does it all, and it starts by locking the singleton
:HttpCallsLock node: a concurrent pass (another indexer or cluster
node) waits until this one commits, then reads every entity it saw.
The last pass therefore sees every committed repository, and readers
never see the edges half replaced.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".