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
58
59
60
61
pub const NOT_FOUND_STR: &str = "NotFound";
pub const PERMISSION_DENIED_STR: &str = "PermissionDenied";
pub const CONNECTION_REFUSED_STR: &str = "ConnectionRefused";
pub const CONNECTION_RESET_STR: &str = "ConnectionReset";
pub const CONNECTION_ABORTED_STR: &str = "ConnectionAborted";
pub const NOT_CONNECTED_STR: &str = "NotConnected";
pub const ADDR_IN_USE_STR: &str = "AddrInUse";
pub const ADDR_NOT_AVAILABLE_STR: &str = "AddrNotAvailable";
pub const BROKEN_PIPE_STR: &str = "BrokenPipe";
pub const ALREADY_EXISTS_STR: &str = "AlreadyExists";
pub const WOULD_BLOCK_STR: &str = "WouldBlock";
pub const INVALID_INPUT_STR: &str = "InvalidInput";
pub const INVALID_DATA_STR: &str = "InvalidData";
pub const TIMED_OUT_STR: &str = "TimedOut";
pub const WRITE_ZERO_STR: &str = "WriteZero";
pub const INTERRUPTED_STR: &str = "Interrupted";
pub const OTHER_STR: &str = "Other";
pub const UNEXPECTED_EOF_STR: &str = "UnexpectedEof";
pub const UNSUPPORTED_STR: &str = "Unsupported";
pub const OUT_OF_MEMORY_STR: &str = "OutOfMemory";