pub enum LocalResult {
Single(Timestamp),
Ambiguous(Timestamp, Timestamp),
Gap {
after: Timestamp,
},
}Expand description
the instants a local wall time stands for
Variants§
Single(Timestamp)
Ambiguous(Timestamp, Timestamp)
the wall time occurs twice (the clocks went back): earlier and later instant
Gap
the wall time does not exist (the clocks jumped forward): the jump’s instant
Implementations§
Trait Implementations§
Source§impl Clone for LocalResult
impl Clone for LocalResult
impl Copy for LocalResult
Source§impl Debug for LocalResult
impl Debug for LocalResult
impl Eq for LocalResult
Source§impl PartialEq for LocalResult
impl PartialEq for LocalResult
impl StructuralPartialEq for LocalResult
Auto Trait Implementations§
impl Forget for LocalResult
impl Freeze for LocalResult
impl RefUnwindSafe for LocalResult
impl Send for LocalResult
impl Sync for LocalResult
impl Unpin for LocalResult
impl UnsafeUnpin for LocalResult
impl UnwindSafe for LocalResult
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