pub enum CallbackKind<'a> {
    Section(&'a str),
    Directive(Option<&'a str>, &'a strOption<&'a str>),
}
Expand description

The kind of callback.

Variants

Section(&'a str)

A new section has been declared. This variant contains the section name.

Directive(Option<&'a str>, &'a strOption<&'a str>)

A new directive has been devlared. This variant contains:

  • The current section (if any)
  • The key of the directive
  • The value of the directive (if any)

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.