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
45
46
47
48
49
50
51
52
53
54
55
56
57
//! # Request
//!
//! To control the timer, a client sends requests to the server and
//! receive back a response. This module contains the request
//! structure as well as trait to read and write a request.
use async_trait;
use Result;
/// The client request struct.
///
/// Requests are sent by clients and received by servers.
/// Trait to read a client request.
///
/// Describes how a request should be parsed by a server.
/// Trait to write a client request.
///
/// Describes how a request should be sent by a client.