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
Required Associated Types§
Required Methods§
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".