Git repository hosting, collaboration, and discovery for the Fediverse.
begin new protocol refactor
parent: tbd commit: 2091700
1 | use ; |
2 | |
3 | use ; |
4 | use Instance; |
5 | use GiteratedConnectionPool; |
6 | use TcpStream; |
7 | use ; |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | type Socket = ; |
14 | |
15 | |
16 | extern crate tracing; |
17 | |
18 | |
19 | ; |
20 | |
21 | |
22 | |
23 | f.debug_tuple .finish |
24 | |
25 | |
26 | |
27 | |
28 | |
29 | instance: impl , |
30 | |
31 | let instance = instance.to_owned; |
32 | Ok |
33 | builder |
34 | socket_addr: None, |
35 | target_instance: instance.to_owned, |
36 | |
37 | .build?, |
38 | |
39 | |
40 | |
41 | |
42 | instance_identity: impl , |
43 | connection_addr: SocketAddr, |
44 | |
45 | Ok |
46 | builder |
47 | target_instance: instance_identity.to_owned, |
48 | socket_addr: Some, |
49 | |
50 | .build?, |
51 | |
52 | |
53 | |
54 |