pub trait EventContext {
// Required methods
fn timestamp(&self) -> Timestamp;
fn time(&self) -> &dyn Value;
fn node_id(&self) -> &dyn Value;
fn log_node_id(&self) -> bool;
}Required Methods§
fn timestamp(&self) -> Timestamp
fn time(&self) -> &dyn Value
fn node_id(&self) -> &dyn Value
fn log_node_id(&self) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".