[][src]Struct tracing_subscriber::fmt::time::ChronoUtc

pub struct ChronoUtc { /* fields omitted */ }
This is supported on crate features fmt and chrono only.

Retrieve and print the current UTC time.

Implementations

impl ChronoUtc[src]

pub fn rfc3339() -> Self[src]

This is supported on crate features fmt and chrono only.

Format the time using the RFC 3339 format (a subset of ISO 8601).

pub fn with_format(format_string: String) -> Self[src]

This is supported on crate features fmt and chrono only.

Format the time using the given format string.

See chrono::format::strftime for details on the supported syntax.

Trait Implementations

impl Clone for ChronoUtc[src]

impl Debug for ChronoUtc[src]

impl Default for ChronoUtc[src]

impl Eq for ChronoUtc[src]

impl FormatTime for ChronoUtc[src]

impl PartialEq<ChronoUtc> for ChronoUtc[src]

impl StructuralEq for ChronoUtc[src]

impl StructuralPartialEq for ChronoUtc[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.