Trait light_ini::IniHandler

source ·
pub trait IniHandler {
    type Error: Debug;

    fn section(&mut self, name: &str) -> Result<(), Self::Error>;
    fn option(&mut self, key: &str, value: &str) -> Result<(), Self::Error>;

    fn comment(&mut self, _: &str) -> Result<(), Self::Error> { ... }
}
Expand description

Interface for the INI format handler

Required Associated Types§

Required Methods§

Called when a section is found

Called when an option is found

Provided Methods§

Called for each comment

Implementors§