pub type UtcTime = TimePoint<Utc>;Aliased Type§
pub struct UtcTime { /* private fields */ }Trait Implementations§
Source§impl FromDateTime for UtcTime
impl FromDateTime for UtcTime
Source§type Error = InvalidUtcDateTime
type Error = InvalidUtcDateTime
This error may be returned whenever some input date-time is not valid. This may be the case
when the time-of-day is not valid, but also when some date-time does not occur in a chosen
time scale, for example due to leap seconds deletions or daylight saving time switches.