Skip to main content

Module time

Module time 

Source
Expand description

Manipulate time periods (as used in the onion service system)

Re-exportsยง

use std::fmt::Display; ๐Ÿ”’
use humantime::format_rfc3339_seconds; ๐Ÿ”’
use tor_units::IntegerMinutes; ๐Ÿ”’
use web_time_compat::Duration; ๐Ÿ”’
use web_time_compat::SystemTime; ๐Ÿ”’
use serde::Deserialize; ๐Ÿ”’
use serde::Deserialize; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’

Structsยง

TimePeriod
A period of time, as used in the onion service system.

Enumsยง

TimePeriodError
An error that occurs when creating or manipulating a TimePeriod