pub trait IniHandler {
type Error: Debug;
// Required methods
fn section(&mut self, name: &str) -> Result<(), Self::Error>;
fn option(&mut self, key: &str, value: &str) -> Result<(), Self::Error>;
// Provided method
fn comment(&mut self, _: &str) -> Result<(), Self::Error> { ... }
}Expand description
Interface for the INI format handler