pub trait VerifierLogger {
// Required method
fn log(&mut self, line: &[u8]);
// Provided method
fn is_enabled(&self) -> bool { ... }
}Expand description
A trait to receive the log from the verifier.
Required Methods§
Provided Methods§
Sourcefn is_enabled(&self) -> bool
fn is_enabled(&self) -> bool
Returns whether logging is currently enabled and can accept output.
Verifiers check this before evaluating log messages or formatting strings.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".