referrerpolicy=no-referrer-when-downgrade

Trait frame_support::traits::HandleLifetime

source ·
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§

source

fn created(_t: &T) -> Result<(), DispatchError>

An account was created.

source

fn killed(_t: &T) -> Result<(), DispatchError>

An account was killed.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T> HandleLifetime<T> for ()

Implementors§