Trait syslog_ng_common::ParserBuilder [] [src]

pub trait ParserBuilder {
    type Parser: Parser;
    fn new() -> Self;
    fn option(&mut self, name: String, value: String);
    fn build(self) -> Result<Self::Parser, OptionError>;

    fn parent(&mut self, _: LogParser) { ... }
}

Associated Types

type Parser: Parser

Required Methods

fn new() -> Self

fn option(&mut self, name: String, value: String)

fn build(self) -> Result<Self::Parser, OptionError>

Provided Methods

fn parent(&mut self, _: LogParser)

Implementors