More restructuring
parent: tbd commit: 10b7b7c
1 | use Error; |
2 | |
3 | |
4 | |
5 | state: &mut State, |
6 | object: &O, |
7 | operation: &D, |
8 | ; |
9 | |
10 | |
11 | ; |
12 | |
13 | |
14 | |
15 | todo! |
16 | |
17 | |
18 | |
19 | use OperationError; |
20 | |
21 | use crate:: |
22 | , | FfiValueUntyped
23 | , |
24 | ; |
25 | |
26 | |
27 | |
28 | inner: StateHandle, |
29 | |
30 | |
31 | |
32 | |
33 | state: FfiValueUntyped, |
34 | |
35 | |
36 | |
37 | |
38 | /// The pointer to the next item. |
39 | /// |
40 | /// `next_item` is most likely always an `FfiValue<StateItem<()>>` and that's how we free them. |
41 | next_item: *const , |
42 | pub state_uuid: u128, |
43 | pub state: T, |
44 | |
45 | |
46 | |
47 | |
48 | let state_manager = unsafe ; |
49 | |
50 | for state in state_manager |
51 | |
52 | |
53 | |
54 | |
55 | state: &'s mut State, |
56 | last: , |
57 | |
58 | |
59 | |
60 | pub unsafe |
61 | todo! |
62 | |
63 | |
64 | pub unsafe |
65 | todo! |
66 | |
67 | |
68 | pub unsafe |
69 | todo! |
70 | |
71 | |
72 | |
73 | |
74 | type Item = ; |
75 | |
76 | |
77 | todo! |
78 | |
79 | |
80 | |
81 | |
82 | ; |
83 | |
84 | |
85 | None |
86 | |
87 | |
88 | |
89 | /// State values for the current execution domain. 99.99% of the time this means "plugin-specific" |
90 | /// |
91 | /// The remainder 0.01% of the time it refers to the daemon's runtime domain. |
92 | >); |
93 | |
94 | |
95 | |
96 | todo! |
97 | |
98 | |
99 | |
100 | ; |
101 | |
102 | |
103 | |
104 | todo! |
105 | |
106 | |
107 | |
108 | |
109 | |
110 | todo! |
111 | |
112 | |
113 | |
114 | |
115 | pub queue_insert_state: unsafe extern "C" fn , |
116 | |
117 | |
118 | |
119 | type VTable = Runtime; |
120 | |
121 | |
122 | |
123 | ; |
124 | |
125 | |
126 | |
127 | |
128 | todo! |
129 | |
130 | |
131 | |
132 | |
133 | |
134 | todo! |
135 | |
136 | |
137 |