pub struct Unix;Expand description
POSIX (Unix) seconds since 1970-01-01T00:00:00 UTC.
Trait Implementations§
Source§impl<S: Scale + ContextScaleConvert<UTC>, SrcF: TimeFormat> ContextConversionTarget<S, SrcF> for Unix
impl<S: Scale + ContextScaleConvert<UTC>, SrcF: TimeFormat> ContextConversionTarget<S, SrcF> for Unix
type Output = Time<UTC, Unix>
fn convert_with( src: Time<S, SrcF>, ctx: &TimeContext, ) -> Result<Self::Output, ConversionError>
Source§impl<S: Scale + InfallibleScaleConvert<UTC>, SrcF: TimeFormat> ConversionTarget<S, SrcF> for Unix
impl<S: Scale + InfallibleScaleConvert<UTC>, SrcF: TimeFormat> ConversionTarget<S, SrcF> for Unix
Source§impl FormatForScale<UTC> for Unix
impl FormatForScale<UTC> for Unix
fn try_from_time<Fin: TimeFormat>( time: Time<UTC, Fin>, ctx: &TimeContext, ) -> Result<Second, ConversionError>
fn try_into_time( raw: Second, ctx: &TimeContext, ) -> Result<Time<UTC, Self>, ConversionError>
impl Copy 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