Trait pallet_certification::traits::OnNewcert
source · pub trait OnNewcert<IdtyIndex> {
// Required method
fn on_new_cert(
issuer: IdtyIndex,
issuer_issued_count: u32,
receiver: IdtyIndex,
receiver_received_count: u32
);
}
Expand description
Trait for handling actions to take when a new certification is issued.
Required Methods§
sourcefn on_new_cert(
issuer: IdtyIndex,
issuer_issued_count: u32,
receiver: IdtyIndex,
receiver_received_count: u32
)
fn on_new_cert( issuer: IdtyIndex, issuer_issued_count: u32, receiver: IdtyIndex, receiver_received_count: u32 )
Called when a new certification is issued.
Object Safety§
This trait is not object safe.