Struct tracing_glog::UtcTime
source · [−]pub struct UtcTime<F = Vec<FormatItem<'static>>> { /* private fields */ }Expand description
Formats the current UTC time using a formatter from the time crate.
To format the current local time instead, use the LocalTime type.
Trait Implementations
sourceimpl<F> FormatTime for UtcTime<F>where
F: Formattable,
impl<F> FormatTime for UtcTime<F>where
F: Formattable,
sourcefn format_time(&self, writer: &mut Writer<'_>) -> Result
fn format_time(&self, writer: &mut Writer<'_>) -> Result
Measure and write out the current time. Read more
Auto Trait Implementations
impl<F> RefUnwindSafe for UtcTime<F>where
F: RefUnwindSafe,
impl<F> Send for UtcTime<F>where
F: Send,
impl<F> Sync for UtcTime<F>where
F: Sync,
impl<F> Unpin for UtcTime<F>where
F: Unpin,
impl<F> UnwindSafe for UtcTime<F>where
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more