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
38
39
40
41
42
43
44
//! Messages handled by the Daemon task
use SocketAddr;
/// Top level message by the daemon task from DNS resolvers
/// Initialize a new NTP address in a pool
///
/// This message is sent by the [`Resolver`](crate::daemon::io::dns)
/// when a new host is resolved and should be constructed in the rest
/// of the app
// TODO: fixup the doc link when the `Resolver` struct is merged in
/// Remove an existing NTP address from a pool
///
/// This message is sent by the [`Resolver`](crate::daemon::io::dns)
/// when a host should be removed. Could happen if
/// the host stops responding
// TODO: fixup the doc link when the `Resolver` struct is merged in