Struct scope_timer::ScopeTimer[][src]

pub struct ScopeTimer<'a> {
    pub label: &'a str,
    pub time_format: TimeFormat,
    pub now: Instant,
    pub log_level: Option<LogLevel>,
    pub debug_only: bool,
}

Fields

label: &'a strtime_format: TimeFormatnow: Instantlog_level: Option<LogLevel>debug_only: bool

Implementations

Trait Implementations

Returns the “default value” for a type. Read more

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.