Skip to main content

LinkagePort

Trait LinkagePort 

Source
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§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§