Skip to main content

ObjectResolver

Trait ObjectResolver 

Source
pub trait ObjectResolver {
    // Required method
    fn resolve(&self, id: &ObjectId) -> Option<Object>;
}
Expand description

Trait for resolving ObjectIds to Objects during diff computation. This decouples the diff algorithm from the storage backend.

Required Methods§

Source

fn resolve(&self, id: &ObjectId) -> Option<Object>

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§