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
//! # Response
//!
//! When a server receives a request, it sends back a response. This
//! module contains the response structure as well as traits to read
//! and write a response.
use async_trait;
use Result;
use crateTimer;
/// The server response struct.
///
/// Responses are sent by servers and received by clients.
/// Trait to read a server response.
///
/// Describes how a response should be parsed by a client.
/// Trait to write a response.
///
/// Describes how a response should be sent by a server.