Trait polkadot_sdk_frame::traits::HandleLifetime
pub trait HandleLifetime<T> {
// Provided methods
fn created(_t: &T) -> Result<(), DispatchError> { ... }
fn killed(_t: &T) -> Result<(), DispatchError> { ... }
}
Expand description
A simple, generic one-parameter event notifier/handler.
Provided Methods§
Object Safety§
This trait is not object safe.