[−][src]Trait sgx_tstd::untrusted::time::InstantEx
Required methods
Loading content...Implementors
impl InstantEx for Instant
[src]
fn now() -> Instant
[src]
Returns an instant corresponding to "now".
fn elapsed(&self) -> Duration
[src]
Returns the amount of time elapsed since this instant was created.
Panics
This function may panic if the current time is earlier than this
instant, which is something that can happen if an Instant
is
produced synthetically.