Trait frame_support::traits::HandleLifetime [−][src]
pub trait HandleLifetime<T> { fn created(_t: &T) -> Result<(), StoredMapError> { ... } fn killed(_t: &T) -> Result<(), StoredMapError> { ... } }
A simple, generic one-parameter event notifier/handler.
Provided methods
fn created(_t: &T) -> Result<(), StoredMapError>
[src][−]
An account was created.
fn killed(_t: &T) -> Result<(), StoredMapError>
[src][−]
An account was killed.
Implementations on Foreign Types
impl<T> HandleLifetime<T> for ()
[src]
Implementors
impl<T: Config> HandleLifetime<<T as Config>::AccountId> for Provider<T>
impl<T: Config> HandleLifetime<<T as Config>::AccountId> for Provider<T>
impl<T: Config> HandleLifetime<<T as Config>::AccountId> for Consumer<T>
impl<T: Config> HandleLifetime<<T as Config>::AccountId> for Consumer<T>