reth_node_metrics::hooks

Trait Hook

Source
pub trait Hook:
    Fn()
    + Send
    + Sync
    + 'static { }
Expand description

The simple alias for function types that are 'static, Send, and Sync.

Implementors§

Source§

impl<T: 'static + Fn() + Send + Sync> Hook for T