Begin new protocol refactor
parent: tbd commit: 26651b1
1 | // pub mod authentication; |
2 | // pub mod forwarded; |
3 | // pub mod handshake; |
4 | // pub mod repository; |
5 | // pub mod user; |
6 | |
7 | |
8 | use ; |
9 | |
10 | use Error; |
11 | use ; |
12 | use ; |
13 | use ; |
14 | use WebSocketStream; |
15 | |
16 | |
17 | |
18 | |
19 | Shutdown, |
20 | |
21 | InternalError, |
22 | |
23 | |
24 | |
25 | pub task: , |
26 | |
27 | |
28 | |
29 | pub instance: InstanceMeta, |
30 | pub task: , |
31 | |
32 | |
33 | /// Represents a connection which hasn't finished the handshake. |
34 | |
35 | pub socket: , |
36 | |
37 | |
38 | |
39 | |
40 | pub connections: , |
41 | pub instance_connections: , |
42 | |
43 | |
44 | |
45 | |
46 | ; |
47 | |
48 | |
49 | ; |
50 | |
51 | |
52 | |
53 | |
54 | F: FnOnce(T1) -> R, |
55 | T1: Serialize + DeserializeOwned, |
56 | |
57 | |
58 | |
59 | |
60 | |
61 | |
62 | |
63 | |
64 | F: FnOnce(T1, T2) -> R, |
65 | T1: Serialize + DeserializeOwned, |
66 | |
67 | |
68 | |
69 | |
70 | |
71 | |
72 | |
73 | |
74 | F: FnOnce(T1, T2, T3) -> R, |
75 | T1: Serialize + DeserializeOwned, |
76 | |
77 | |
78 | |
79 | |
80 | |
81 | |
82 | |
83 | |
84 | F: FnOnce(T1, T2, T3, T4) -> R, |
85 | T1: Serialize + DeserializeOwned, |
86 | |
87 | |
88 | |
89 | |
90 | |
91 |