pub trait Formatter:
Debug
+ Send
+ Sync {
// Required method
fn format(
&self,
val: &Value,
config: &SharedConfig,
) -> Result<String, FormatError>;
// Provided method
fn interval(&self) -> Option<Duration> { ... }
}