Expand description
INI format parser.
Implementations§
source§impl<'a, Error: Debug + Error> IniParser<'a, Error>
impl<'a, Error: Debug + Error> IniParser<'a, Error>
sourcepub fn new(
handler: &'a mut dyn IniHandler<Error = Error>
) -> IniParser<'a, Error>
pub fn new(
handler: &'a mut dyn IniHandler<Error = Error>
) -> IniParser<'a, Error>
Create a parser using the given handler.
pub fn with_start_comment(
handler: &'a mut dyn IniHandler<Error = Error>,
start_comment: char
) -> IniParser<'a, Error>
sourcepub fn parse_buffered<B: BufRead>(
&mut self,
input: B
) -> Result<(), IniError<Error>>
pub fn parse_buffered<B: BufRead>(
&mut self,
input: B
) -> Result<(), IniError<Error>>
Parse input from a buffered reader.
sourcepub fn parse<R: Read>(&mut self, input: R) -> Result<(), IniError<Error>>
pub fn parse<R: Read>(&mut self, input: R) -> Result<(), IniError<Error>>
Parse input from a reader.