summaryrefslogtreecommitdiff
path: root/crates/tor-guardmgr/src/err.rs
Commit message (Collapse)AuthorAgeFilesLines
* guardmgr: implement HasRetryTime.Nick Mathewson2022-04-041-0/+24
|
* Turn FallbackList into a real type, and store one in GuardMgr.Nick Mathewson2022-03-301-2/+13
| | | | | | | | | | | | | | The guard manager is responsible for handing out the first hops of tor circuits, keeping track of their successes and failures, and remembering their states. Given that, it makes sense to store this information here. It is not yet used; I'll be fixing that in upcoming commits. Arguably, this information no longer belongs in the directory manager: I've added a todo about moving it. This commit will break compilation on its own in a couple of places; subsequent commits will fix it up.
* guardmgr: move error types into new err.rs module.Nick Mathewson2022-03-301-0/+75
This is more in keeping with the rest of our code.