Handler

Trait Handler 

Source
pub trait Handler<'a, T> {
    // Required method
    fn handler() -> fn(Results<'a>) -> T;
}

Required Methods§

Source

fn handler() -> fn(Results<'a>) -> T

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'a> Handler<'a, Results<'a>> for Results<'a>

Source§

impl<'a, T: Default> Handler<'a, T> for T