Trait rocfl::ocfl::IncrementalValidator [−][src]
pub trait IncrementalValidator: Iterator<Item = Result<ObjectValidationResult>> {
fn storage_root_result(&self) -> &StorageValidationResult;
fn storage_hierarchy_result(&self) -> &StorageValidationResult;
}
Expand description
Lazily validates every object in the repository. Each call to next()
validates another object.
Required methods
fn storage_root_result(&self) -> &StorageValidationResult
fn storage_root_result(&self) -> &StorageValidationResult
The validation results for the repository’s storage root. This is available immediately.
fn storage_hierarchy_result(&self) -> &StorageValidationResult
fn storage_hierarchy_result(&self) -> &StorageValidationResult
The validation results for the repository’s hierarchy. This is available after every object has been validated.
Implementors
Lazily validates every object in the repository. Each call to next()
validates another object.