Trait rocfl::ocfl::IncrementalValidator
source · [−]pub trait IncrementalValidator: Iterator<Item = Result<ObjectValidationResult>> {
fn storage_root_result(&self) -> &StorageValidationResult;
fn storage_hierarchy_result(&self) -> &StorageValidationResult;
fn storage_root_result_mut(&mut self) -> &mut StorageValidationResult;
fn storage_hierarchy_result_mut(&mut self) -> &mut 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.
fn storage_root_result_mut(&mut self) -> &mut StorageValidationResult
fn storage_root_result_mut(&mut self) -> &mut StorageValidationResult
The validation results for the repository’s storage root. This is available immediately.
fn storage_hierarchy_result_mut(&mut self) -> &mut StorageValidationResult
fn storage_hierarchy_result_mut(&mut self) -> &mut 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.