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§
Sourcefn find_objects<'a, 'b, I>(
&self,
refname: &Qualified<'a>,
dids: I,
) -> Result<FoundObjects, FindObjectsError>
fn find_objects<'a, 'b, I>( &self, refname: &Qualified<'a>, dids: I, ) -> Result<FoundObjects, FindObjectsError>
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.