pub trait LinkagePort {
// Required methods
fn resolve_linkage(
&mut self,
index: &CodeIndex,
) -> WorkspaceResult<LinkageSnapshot>;
fn refresh_linkage(
&mut self,
current: &LinkageSnapshot,
index: &CodeIndex,
impact: LinkageRefreshImpact,
) -> WorkspaceResult<LinkageSnapshot>;
}Required Methods§
fn resolve_linkage( &mut self, index: &CodeIndex, ) -> WorkspaceResult<LinkageSnapshot>
fn refresh_linkage( &mut self, current: &LinkageSnapshot, index: &CodeIndex, impact: LinkageRefreshImpact, ) -> WorkspaceResult<LinkageSnapshot>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".