pub trait ApplicationEvent:
Send
+ Sync
+ 'static {
// Required method
fn source(&self) -> Option<&dyn Any>;
// Provided methods
fn get_timestamp(&self) -> i64 { ... }
fn tid(&self) -> TypeId { ... }
}
Expand description
应用事件
Application event
Required Methods§
Provided Methods§
Sourcefn get_timestamp(&self) -> i64
fn get_timestamp(&self) -> i64
获取事件时间戳 Get event timestamp