FindObjects

Trait FindObjects 

Source
pub trait FindObjects {
    // Required method
    fn find_objects<'a, 'b, I>(
        &self,
        refname: &Qualified<'a>,
        dids: I,
    ) -> Result<FoundObjects, FindObjectsError>
       where I: Iterator<Item = &'b Did>;
}
Expand description

Find objects for the canonical computation.

Typically implemented by a Git repository.

Required Methods§

Source

fn find_objects<'a, 'b, I>( &self, refname: &Qualified<'a>, dids: I, ) -> Result<FoundObjects, FindObjectsError>
where I: Iterator<Item = &'b Did>,

Find the objects for the given Qualified reference name, for each Did’s namespace.

The resulting FoundObjects includes all objects that were found, the references that were missing, and the objects that were missing (if the reference was found).

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl FindObjects for radicle_node::storage::git::Repository

Source§

impl FindObjects for radicle_node::git::raw::Repository