Enum cap_fs_ext::SystemTimeSpec[][src]

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

Performs the conversion.

Performs the conversion.

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.