pub enum Fold {
Earlier,
Later,
}Expand description
How to resolve a local civil time that maps ambiguously to UTC: in a DST fold (the hour
repeated when clocks fall back, so a local time occurs twice) or a gap (the hour skipped
when clocks spring forward, so a local time never occurs). Earlier picks the earlier instant,
Later the later one.
Variants§
Trait Implementations§
impl Copy for Fold
impl Eq for Fold
impl StructuralPartialEq for Fold
Auto Trait Implementations§
impl Freeze for Fold
impl RefUnwindSafe for Fold
impl Send for Fold
impl Sync for Fold
impl Unpin for Fold
impl UnsafeUnpin for Fold
impl UnwindSafe for Fold
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more