pub trait LogEvent {
// Required methods
fn is_warning(&self) -> bool;
fn event_time(&self) -> Option<DateTime<Utc>>;
fn event_text(&self) -> String;
}Required Methods§
fn is_warning(&self) -> bool
fn event_time(&self) -> Option<DateTime<Utc>>
fn event_text(&self) -> String
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".