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>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.