Struct sgx_tstd::time::SystemTimeError[][src]

pub struct SystemTimeError(_);

An error returned from the duration_since and elapsed methods on SystemTime, used to learn how far in the opposite direction a system time lies.

Methods

impl SystemTimeError
[src]

Returns the positive duration which represents how far forward the second system time was from the first.

A SystemTimeError is returned from the [duration_since] and [elapsed] methods of SystemTime whenever the second system time represents a point later in time than the self of the method call.

Trait Implementations

impl Clone for SystemTimeError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SystemTimeError
[src]

Formats the value using the given formatter. Read more

impl Error for SystemTimeError
[src]

A short description of the error.

The lower-level cause of this error, if any.

Get the TypeId of self

impl Display for SystemTimeError
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for SystemTimeError

impl Sync for SystemTimeError