/// The mein method performing client-side-validation for the whole block of
/// client-side-validated data.
///
/// The default implementation of the trait iterates over
/// client-side-validated data hierarchy using iterator returned by
/// [`ClientSideValidate::validation_iter`] and for each of the items
/// - validates internal data consistency with
///   [`ClientData::validate_internal_consistency`] method,
/// - validates single-use-seal for the item using the provided `resolver`
///   object,
/// adding reported issues to the [`Status`] log returned by the function.
///
/// The function should not fail on any validation failures and run the
/// whole validation process up to the end, accumulating all failures and
/// reported issues withing [`Status`] object, returned by the function at
/// the end.
The mein method performing client-side-validation for the whole block of
client-side-validated data.



The function should not fail on any validation failures and run the
whole validation process up to the end, accumulating all failures and
reported issues withing [`Status`] object, returned by the function at
the end.
The mein method performing client - side - validation for the whole block of client - side - validated data . The function should not fail on any validation failures and run the whole validation process up to the end accumulating all failures and reported issues withing [ ` Status ` ] object returned by the function at the end .
fn client_side_validate<Resolver>(
        &'a self,
        resolver: &'a mut Resolver,
    ) -> Status<Self::ValidationReport>
    where
        Resolver: SealResolver<
            <<<Self as ClientData>::ValidationReport as ValidationReport>::SealIssue as SealIssue>::SingleUseSeal,
            Error = <<Self as ClientData>::ValidationReport as ValidationReport>::SealIssue,
        >,
    {
        let mut status = Status::new();
        status += self.validate_internal_consistency();
        for item in self.validation_iter() {
            if let Some(seal) = item.single_use_seal() {
                let _ = resolver
                    .resolve_trust(seal)
                    .map_err(|issue| status.add_seal_issue(issue));
            }
            status += item.validate_internal_consistency();
        }
        status
    }
fn client_side_validate < Resolver > ( & ' a self , resolver : & ' a mut Resolver , ) -> Status < Self :: ValidationReport > where Resolver : SealResolver < < < < Self as ClientData > :: ValidationReport as ValidationReport > :: SealIssue as SealIssue > :: SingleUseSeal , Error = < < Self as ClientData > :: ValidationReport as ValidationReport > :: SealIssue , > , { let mut status = Status :: new ( ) ; status += self . validate_internal_consistency ( ) ; for item in self . validation_iter ( ) { if let Some ( seal ) = item . single_use_seal ( ) { let _ = resolver . resolve_trust ( seal ) . map_err ( | issue | status . add_seal_issue ( issue ) ) ; } status += item . validate_internal_consistency ( ) ; } status }
The mein method performing client-side-validation for the whole block of
client-side-validated data.
The mein method performing client - side - validation for the whole block of client - side - validated data .
&'a self
resolver
&'a mut Resolver