Trait pallet_certification::traits::CheckCertAllowed
source · pub trait CheckCertAllowed<IdtyIndex> {
// Required method
fn check_cert_allowed(
issuer: IdtyIndex,
receiver: IdtyIndex
) -> Result<(), DispatchError>;
}
Expand description
Trait for checking if a certification is allowed between two identities.
Required Methods§
sourcefn check_cert_allowed(
issuer: IdtyIndex,
receiver: IdtyIndex
) -> Result<(), DispatchError>
fn check_cert_allowed( issuer: IdtyIndex, receiver: IdtyIndex ) -> Result<(), DispatchError>
Check if the certification is allowed from the issuer to the receiver.
Object Safety§
This trait is not object safe.