pub trait ErrorFormatter: Send + Sync { // Required method fn format_error(&self, err: &Error) -> String; }