Crate tor_basic_utils
source · [−]Expand description
tor-basic-utils
: Utilities (low-level) for Tor
Miscellaneous utilities for tor-*
and arti-*
.
This crate lives at the bottom of the Tor crate stack.
So it contains only utilities which have no tor-*
(or arti-*
) dependencies.
There is no particular theme.
More substantial sets of functionality with particular themes
are to be found in other tor-*
crates.
Modules
Futures helpers
Iterator helpers for Arti.
An implementation of the “decorrelated jitter” algorithm for scheduling retries.
Code for deterministic and/or reproducible use of PRNGs in tests.
Macros
Define an “accessor trait”, which describes structs that have fields of certain types
Helper for assisting with macro “argument” defaulting
Traits
Implementation of
ErrorKind::NotADirectory
that doesn’t require NightlyFunctions
Function with the signature of
Debug::fmt
that just prints ".."