Trait edcert::validator::Validatable [] [src]

pub trait Validatable {
    fn self_validate<T: Validator>(
        &self,
        validator: &T
    ) -> Result<(), ValidationError>; }

This trait must be implemented for types, which must be validated.

Required Methods

This method is given a validator. It can access the master public key indirectly using the Validator.

Don't call this method directly, it will be called if you call Validator::is_valid(_).

Implementors