pub trait PocketIcTimeExt {
// Required method
fn current_time_nanos(&self) -> u64;
}Expand description
Focused time conversion missing from PocketIC’s native API.
All mutation, certified-time, and round operations stay on PocketIc.
Required Methods§
Sourcefn current_time_nanos(&self) -> u64
fn current_time_nanos(&self) -> u64
Read PocketIC wall-clock time as nanoseconds since the Unix epoch.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".