Skip to main content

BorrowedMergeResolver

Trait BorrowedMergeResolver 

Source
pub trait BorrowedMergeResolver: Send + Sync {
    // Required method
    fn resolve(&self, conflict: ConflictRef<'_>) -> MergeDecision;
}
Expand description

Resolver that inspects borrowed conflict values and can select an existing branch without first copying it.

Required Methods§

Source

fn resolve(&self, conflict: ConflictRef<'_>) -> MergeDecision

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§