pub struct Unix;Expand description
POSIX seconds on the UTC civil axis.
Trait Implementations§
Source§impl<S> ContextConversionTarget<S> for Unix
impl<S> ContextConversionTarget<S> for Unix
type Output = EncodedTime<UTC, Unix>
fn convert_with( src: Time<S>, ctx: &TimeContext, ) -> Result<Self::Output, ConversionError>
Source§impl ContextConversionTarget<UTC> for Unix
impl ContextConversionTarget<UTC> for Unix
type Output = EncodedTime<UTC, Unix>
fn convert_with( src: Time<UTC>, ctx: &TimeContext, ) -> Result<Self::Output, ConversionError>
Source§impl<S> ConversionTarget<S> for Unix
impl<S> ConversionTarget<S> for Unix
Source§fn try_convert(src: Time<S>) -> Result<Self::Output, ConversionError>
fn try_convert(src: Time<S>) -> Result<Self::Output, ConversionError>
Snapshots the active time-data bundle at call time via
TimeContext::new. For reproducible pipelines, prefer
to_with::<Unix>(&ctx).
type Output = EncodedTime<UTC, Unix>
Source§impl FormatForScale<UTC> for Unix
impl FormatForScale<UTC> for Unix
fn try_from_time( time: Time<UTC>, ctx: &TimeContext, ) -> Result<Second, ConversionError>
fn try_into_time( raw: Second, ctx: &TimeContext, ) -> Result<Time<UTC>, ConversionError>
Source§impl Ord for Unix
impl Ord for Unix
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for Unix
impl PartialOrd for Unix
Source§impl TimeFormat for Unix
impl TimeFormat for Unix
impl Copy for Unix
impl Eq for Unix
impl StructuralPartialEq for Unix
Auto Trait Implementations§
impl Freeze for Unix
impl RefUnwindSafe for Unix
impl Send for Unix
impl Sync for Unix
impl Unpin for Unix
impl UnsafeUnpin for Unix
impl UnwindSafe for Unix
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