1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//! TEMPORARY, EXPERIMENTAL traits for using tor-dirmgr as a dirserver backend.
//!
//! This module will be removed in the future. It only exists for now so that
//! we can test Arti relays as guards before tor-dirserver is finished.
//
// NOTE: Some aspects of this module are marked with "LIMITATION".
// Don't just run in and fix these: remember, this is throw-away code.
pub use http;
/// An object that knows how to handle one or more kinds of directory requests.
/// An error that occurred while trying to handle a request.