pub trait AsSubject: Display {
// Required method
fn subject(&self) -> Subject<'_>;
}Expand description
Extension trait for types that can be used as a log subject.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".