pub trait PluginLogger: Send + Sync {
// Required methods
fn debug(&self, message: &str);
fn info(&self, message: &str);
fn warn(&self, message: &str);
fn error(&self, message: &str);
}Expand description
插件日志
Required Methods§
fn debug(&self, message: &str)
fn info(&self, message: &str)
fn warn(&self, message: &str)
fn error(&self, message: &str)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".