hyperlane_log/log/
trait.rs

1/// Trait for log formatting functions.
2///
3/// Defines the interface for functions that format log data.
4/// Implemented automatically for any compatible Fn(T) -> String.
5///
6/// # Generic Parameters
7///
8/// - `T: ToString` - The type of data to be formatted, must be convertible to String.
9pub trait LogFuncTrait<T: ToString>: Fn(T) -> String + Send + Sync {}