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

pub struct ChronoLocal { /* fields omitted */ }

Retrieve and print the current local time.

Implementations

impl ChronoLocal[src]

pub fn rfc3339() -> Self[src]

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

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

Format the time using the given format string.

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

Trait Implementations

impl Clone for ChronoLocal[src]

impl Debug for ChronoLocal[src]

impl Default for ChronoLocal[src]

impl Eq for ChronoLocal[src]

impl FormatTime for ChronoLocal[src]

impl PartialEq<ChronoLocal> for ChronoLocal[src]

impl StructuralEq for ChronoLocal[src]

impl StructuralPartialEq for ChronoLocal[src]

Auto Trait Implementations

impl RefUnwindSafe for ChronoLocal

impl Send for ChronoLocal

impl Sync for ChronoLocal

impl Unpin for ChronoLocal

impl UnwindSafe for ChronoLocal

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> Instrument 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.