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.

Implementations on Foreign Types§

source§

impl<T> HandleLifetime<T> for ()

Implementors§