Trait oni_comb_parser_rs::prelude::LoggingParser
source · pub trait LoggingParser<'a>: ParserRunner<'a> {
// Required methods
fn log(
self,
name: &'a str,
log_level: LogLevel,
) -> Self::P<'a, Self::Input, Self::Output>
where Self::Input: Debug,
Self::Output: Debug + 'a;
fn debug(self, name: &'a str) -> Self::P<'a, Self::Input, Self::Output>
where Self::Input: Debug,
Self::Output: Debug + 'a;
fn info(self, name: &'a str) -> Self::P<'a, Self::Input, Self::Output>
where Self::Input: Debug,
Self::Output: Debug + 'a;
fn warn(self, name: &'a str) -> Self::P<'a, Self::Input, Self::Output>
where Self::Input: Debug,
Self::Output: Debug + 'a;
fn error(self, name: &'a str) -> Self::P<'a, Self::Input, Self::Output>
where Self::Input: Debug,
Self::Output: Debug + 'a;
fn name(self, name: &'a str) -> Self::P<'a, Self::Input, Self::Output>
where Self::Input: Debug,
Self::Output: Debug + 'a;
}Required Methods§
fn log( self, name: &'a str, log_level: LogLevel, ) -> Self::P<'a, Self::Input, Self::Output>
fn debug(self, name: &'a str) -> Self::P<'a, Self::Input, Self::Output>
fn info(self, name: &'a str) -> Self::P<'a, Self::Input, Self::Output>
fn warn(self, name: &'a str) -> Self::P<'a, Self::Input, Self::Output>
fn error(self, name: &'a str) -> Self::P<'a, Self::Input, Self::Output>
fn name(self, name: &'a str) -> Self::P<'a, Self::Input, Self::Output>
Object Safety§
This trait is not object safe.