Skip to main content

Module logstate

Module logstate 

Source
Expand description

The state for a single backend for a basic log_ratelim().

Re-exportsยง

use std::error::Error as StdError; ๐Ÿ”’
use std::fmt; ๐Ÿ”’
use std::time::Duration; ๐Ÿ”’

Structsยง

Adaptor ๐Ÿ”’
Helper struct to make Report work correctly.
DispProblem ๐Ÿ”’
Helper: wrapper for reporting problems via Display.
DispWorking ๐Ÿ”’
Helper: wrapper for reporting a lack of problems via Display.
LogState
The state for a single rate-limited log message.

Type Aliasesยง

DynError ๐Ÿ”’
A type-erased error type with the minimum features we need.