pub trait CallbackFn<I, R>: Send + Sync {
    fn invoke(&self, info: I) -> R;
}
Expand description

A callback implementation. Not typically directly implemented, as this trait is auto-implemented for any Fn(I) -> R types.

Required Methods

Invoke the callback with info.

Implementors