Skip to main content

QueryClock

Trait QueryClock 

Source
pub trait QueryClock:
    Debug
    + Send
    + Sync {
    // Required methods
    fn get_transaction_time(&self) -> u64;
    fn get_realtime(&self) -> u64;
}

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§