Trait tracing_rolling::Period
source · pub trait Period {
// Required methods
fn previous_dt(&self) -> Result<OffsetDateTime, String>;
fn now(&self) -> OffsetDateTime;
fn new_path(&self) -> String;
fn duration(&self) -> &Duration;
}