insanity
parent: tbd commit: 6ea28ab
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | pub vtable: , |
8 | |
9 | |
10 | |
11 | pub unsafe |
12 | let runtime = get_runtime_reference; |
13 | |
14 | let runtime = runtime. .as_ref; |
15 | |
16 | runtime.state |
17 | |
18 | |
19 | pub unsafe |
20 | let runtime = get_runtime_reference; |
21 | |
22 | from_raw_ptr |
23 | |
24 | |
25 | |
26 | |
27 | |
28 | async |
29 | &self, |
30 | object: O, |
31 | _operation: &str, |
32 | payload: D, |
33 | _operation_state: &OperationState, |
34 | |
35 | |
36 | O: GiteratedObject + Debug + 'static, |
37 | D: + Debug + 'static, |
38 | : Clone, | Success
39 | : Clone, | Failure
40 | |
41 | // let _object = AnyObject::new(object); |
42 | // let _operation = AnyOperation::new(payload); |
43 | |
44 | todo! |
45 | |
46 | |
47 | async |
48 | &self, |
49 | object_str: &str, |
50 | operation_state: &OperationState, |
51 | |
52 | // let object = unsafe { |
53 | // (self.vtable.get_object)( |
54 | // Self::runtime_state(), |
55 | // object_str, |
56 | // &mut operation_state.clone(), |
57 | // ) |
58 | // }?; |
59 | |
60 | // let object = unsafe { object.cast::<O>() }; |
61 | |
62 | panic!; |
63 | |
64 | // Ok(unsafe { Object::new_unchecked(object, self.clone()) }) |
65 | |
66 | todo! |
67 | |
68 | |
69 |