logo
pub enum SystemTimeSpec {
    SymbolicNow,
    Absolute(SystemTime),
}
Expand description

A value for specifying a time.

Variants

SymbolicNow

A value which always represents the current time, in symbolic form, so that even as time elapses, it continues to represent the current time.

Absolute(SystemTime)

An absolute time value.

Implementations

Constructs a new instance of Self from the given fs_set_times::SystemTimeSpec.

Constructs a new instance of fs_set_times::SystemTimeSpec from the given Self.

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.