pub trait ProfileRepository {
// Required method
fn profiles_for(
&self,
selection: &FlavourSelection,
) -> Result<Vec<ValidationProfile>>;
}Expand description
Repository that resolves validation profiles for a caller selection.
Required Methods§
Sourcefn profiles_for(
&self,
selection: &FlavourSelection,
) -> Result<Vec<ValidationProfile>>
fn profiles_for( &self, selection: &FlavourSelection, ) -> Result<Vec<ValidationProfile>>
Returns immutable profiles matching a selection.
§Errors
Returns crate::PdfvError when the selection is unsupported or profile data is invalid.