pub trait QueryClock:
Debug
+ Send
+ Sync {
// Required methods
fn get_transaction_time(&self) -> u64;
fn get_realtime(&self) -> u64;
}Required Methods§
fn get_transaction_time(&self) -> u64
fn get_realtime(&self) -> u64
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".