pub enum TimeError {
    /// Returned when the `Time` passed is later than the current `Time`.
    LaterThanTime: (),
    /// Returned when the current `Time` is later than the current block time.
    LaterThanNow: (),
}
Expand description

Returned when something fails when computing time.

Variants

LaterThanTime: ()

Returned when the Time passed is later than the current Time.

LaterThanNow: ()

Returned when the current Time is later than the current block time.

Trait Implementations

pub fn abi_encode(self, buffer: Buffer) -> Buffer

pub fn abi_decode(refmut buffer: BufferReader) -> Self