Trait i3status_rs::formatting::formatter::Formatter
source · 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> { ... }
}