no clue what this is
parent: tbd commit: 7889bf6
1 | use |
2 | , | OperationError
3 | , |
4 | , | ObjectBackend
5 | , |
6 | ; |
7 | |
8 | use crate:: |
9 | , |
10 | , | State
11 | , | FfiValueUntyped
12 | FfiFuture, FfiSliceRef, FfiValueMut, StackPinned, |
13 | ; |
14 | |
15 | use Debug; |
16 | |
17 | use ; |
18 | |
19 | |
20 | |
21 | pub vtable: &'static , |
22 | |
23 | |
24 | |
25 | type VTable = RuntimeVTable; |
26 | |
27 | |
28 | |
29 | pub async |
30 | &self, |
31 | object: &str, |
32 | operation_type: &str, |
33 | operation_payload: &[u8], |
34 | |
35 | todo! |
36 | |
37 | |
38 | pub async |
39 | &self, |
40 | object: O, |
41 | operation: D, |
42 | |
43 | |
44 | O: GiteratedObject, |
45 | D: , |
46 | |
47 | todo! |
48 | |
49 | |
50 | |
51 | &self, |
52 | object_str: &str, |
53 | state: &mut State, |
54 | |
55 | let pinned_object_str = .pin; |
56 | let mut pinned_state = .pin; |
57 | |
58 | let result = unsafe |
59 | |
60 | pinned_state.grant_mut |
61 | |
62 | ; |
63 | |
64 | todo! |
65 | |
66 | |
67 | |
68 | |
69 | |
70 | pub(crate) handle_fn: unsafe extern "C" fn |
71 | , |
72 | , |
73 | , |
74 | , |
75 | , |
76 | |
77 | , |
78 | >, |
79 | pub(crate) get_object: |
80 | unsafe extern "C" fn |
81 | object_str: | ,
82 | state: | ,
83 | , |
84 | |
85 | |
86 | |
87 | pub const |
88 | RuntimeVTable |
89 | handle_fn: handle, |
90 | get_object: get_object, |
91 | |
92 | |
93 | |
94 | |
95 | unsafe |
96 | unsafe |
97 | |
98 | |
99 | const VTABLE: RuntimeVTable = ; |
100 | |
101 | unsafe extern "C" |
102 | object_kind: , |
103 | operation_name: , |
104 | object: , |
105 | operation_payload: , |
106 | operation_state: , |
107 | ; |
108 | |
109 | unsafe extern "C" |
110 | object_str: , |
111 | operation_state: , |
112 | ; |
113 | |
114 | |
115 | |
116 | |
117 | async |
118 | &self, |
119 | object: O, |
120 | operation: &str, |
121 | payload: D, |
122 | operation_state: &mut State, |
123 | |
124 | |
125 | O: GiteratedObject + Debug + 'static, |
126 | D: + Debug + 'static, |
127 | : Clone, | Success
128 | : Clone, | Failure
129 | |
130 | todo! |
131 | |
132 | |
133 | async |
134 | &self, |
135 | object_str: &str, |
136 | operation_state: &mut State, |
137 | |
138 | let result = self.inner_get_object?; |
139 | |
140 | Ok |
141 | |
142 | |
143 |