[][src]Trait light_ini::IniHandler

pub trait IniHandler {
    type Error: Debug;
    pub fn section(&mut self, name: &str) -> Result<(), Self::Error>;
pub fn option(&mut self, key: &str, value: &str) -> Result<(), Self::Error>; pub fn comment(&mut self, _: &str) -> Result<(), Self::Error> { ... } }

Interface for the INI format handler

Associated Types

Loading content...

Required methods

pub fn section(&mut self, name: &str) -> Result<(), Self::Error>[src]

Called when a section is found

pub fn option(&mut self, key: &str, value: &str) -> Result<(), Self::Error>[src]

Called when an option is found

Loading content...

Provided methods

pub fn comment(&mut self, _: &str) -> Result<(), Self::Error>[src]

Called for each comment

Loading content...

Implementors

Loading content...