pub enum ZmanKind {
Time,
Duration,
}Expand description
Variants§
Time
An instant in time, returned as a Zoned.
Duration
A length of time, returned as a SignedDuration.
Trait Implementations§
impl Copy for ZmanKind
impl Eq for ZmanKind
impl StructuralPartialEq for ZmanKind
Auto Trait Implementations§
impl Freeze for ZmanKind
impl RefUnwindSafe for ZmanKind
impl Send for ZmanKind
impl Sync for ZmanKind
impl Unpin for ZmanKind
impl UnsafeUnpin for ZmanKind
impl UnwindSafe for ZmanKind
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