@agntcy/slim-bindings-node-linux-arm64-gnu 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3240 @@
1
+ import { join } from "path";
2
+ import { DataType, open, close, define, arrayConstructor, restorePointer, wrapPointer, unwrapPointer, createPointer, freePointer, isNullPointer, PointerType, } from 'ffi-rs';
3
+ import { UniffiInternalError, uniffiCreateFfiConverterString, UniffiError, } from 'uniffi-bindgen-react-native';
4
+ const CALL_SUCCESS = 0, CALL_ERROR = 1, CALL_UNEXPECTED_ERROR = 2, CALL_CANCELLED = 3;
5
+ let libraryLoaded = false;
6
+ /**
7
+ * Loads the dynamic library from disk into memory.
8
+ *
9
+ */
10
+ function _uniffiLoad() {
11
+ const library = "libslim_bindings";
12
+ const { platform } = process;
13
+ let ext = { darwin: "dylib", win32: "dll", linux: "so" }[platform];
14
+ if (!ext) {
15
+ console.warn("Unsupported platform:", platform);
16
+ ext = "so";
17
+ }
18
+ const libraryDirectory = __dirname;
19
+ const libraryPath = join(libraryDirectory, `${library}.${ext}`);
20
+ open({ library, path: libraryPath });
21
+ libraryLoaded = true;
22
+ }
23
+ /**
24
+ * Unloads the dynamic library from disk from memory. This can be used to clean up the library early
25
+ * before program execution completes.
26
+ */
27
+ function _uniffiUnload() {
28
+ close('libslim_bindings');
29
+ libraryLoaded = false;
30
+ }
31
+ function _checkUniffiLoaded() {
32
+ if (!libraryLoaded) {
33
+ throw new Error('Uniffi function call was issued, but the native dependency was not loaded. Ensure you are calling uniffiLoad() before interacting with any uniffi backed functionality.');
34
+ }
35
+ }
36
+ _uniffiLoad();
37
+ // Release library memory before process terminates
38
+ // TODO: is this even really required?
39
+ process.on('beforeExit', () => {
40
+ if (libraryLoaded) {
41
+ _uniffiUnload();
42
+ }
43
+ });
44
+ const [nullPointer] = unwrapPointer(createPointer({
45
+ paramsType: [DataType.Void],
46
+ paramsValue: [undefined]
47
+ }));
48
+ class UniffiFfiRsRustCaller {
49
+ rustCall(caller, liftString) {
50
+ return this.makeRustCall(caller, liftString);
51
+ }
52
+ rustCallWithError(liftError, caller, liftString) {
53
+ return this.makeRustCall(caller, liftString, liftError);
54
+ }
55
+ createCallStatus() {
56
+ const $callStatus = createPointer({
57
+ paramsType: [DataType_UniffiRustCallStatus],
58
+ paramsValue: [{
59
+ code: CALL_SUCCESS,
60
+ error_buf: { capacity: 0, len: 0, data: nullPointer },
61
+ }],
62
+ });
63
+ return $callStatus;
64
+ }
65
+ createErrorStatus(_code, _errorBuf) {
66
+ // FIXME: what is this supposed to do and how does it not allocate `errorBuf` when making the
67
+ // call status struct?
68
+ throw new Error('UniffiRustCaller.createErrorStatus is unimplemented.');
69
+ // const status = this.statusConstructor();
70
+ // status.code = code;
71
+ // status.errorBuf = errorBuf;
72
+ // return status;
73
+ }
74
+ makeRustCall(caller, liftString, liftError) {
75
+ _checkUniffiLoaded();
76
+ const $callStatus = this.createCallStatus();
77
+ let returnedVal = caller(unwrapPointer($callStatus)[0]);
78
+ const [callStatus] = restorePointer({
79
+ retType: [DataType_UniffiRustCallStatus],
80
+ paramsValue: $callStatus,
81
+ });
82
+ uniffiCheckCallStatus(callStatus, liftString, liftError);
83
+ return returnedVal;
84
+ }
85
+ }
86
+ function uniffiCheckCallStatus(callStatus, liftString, liftError) {
87
+ switch (callStatus.code) {
88
+ case CALL_SUCCESS:
89
+ return;
90
+ case CALL_ERROR: {
91
+ // - Rust will not set the data pointer for a sucessful return.
92
+ // - If unsuccesful, lift the error from the RustBuf and free.
93
+ if (!isNullPointer(callStatus.error_buf.data)) {
94
+ const struct = new UniffiRustBufferValue(callStatus.error_buf);
95
+ const errorBufBytes = struct.consumeIntoUint8Array();
96
+ if (liftError) {
97
+ const [enumName, errorVariant] = liftError(errorBufBytes);
98
+ // Extract variant name and message if errorVariant is an object with tag and inner
99
+ if (errorVariant && typeof errorVariant === "object" && "tag" in errorVariant && "inner" in errorVariant) {
100
+ const variantName = errorVariant.tag;
101
+ const message = errorVariant.inner?.message || undefined;
102
+ throw new UniffiError(enumName, variantName, message);
103
+ }
104
+ else {
105
+ // Fallback for simple string variant or unexpected format
106
+ throw new UniffiError(enumName, String(errorVariant));
107
+ }
108
+ }
109
+ }
110
+ throw new UniffiInternalError.UnexpectedRustCallError();
111
+ }
112
+ case CALL_UNEXPECTED_ERROR: {
113
+ // When the rust code sees a panic, it tries to construct a RustBuffer
114
+ // with the message. But if that code panics, then it just sends back
115
+ // an empty buffer.
116
+ if (!isNullPointer(callStatus.error_buf.data)) {
117
+ const struct = new UniffiRustBufferValue(callStatus.error_buf);
118
+ const errorBufBytes = struct.consumeIntoUint8Array();
119
+ if (errorBufBytes.byteLength > 0) {
120
+ const liftedErrorBuf = liftString(errorBufBytes);
121
+ throw new UniffiInternalError.RustPanic(liftedErrorBuf);
122
+ }
123
+ }
124
+ throw new UniffiInternalError.RustPanic("Rust panic");
125
+ }
126
+ case CALL_CANCELLED:
127
+ // #RUST_TASK_CANCELLATION:
128
+ //
129
+ // This error code is expected when a Rust Future is cancelled or aborted, either
130
+ // from the foreign side, or from within Rust itself.
131
+ //
132
+ // As of uniffi-rs v0.28.0, call cancellation is only checked for in the Swift bindings,
133
+ // and uses an Unimplemeneted error.
134
+ throw new UniffiInternalError.AbortError();
135
+ default:
136
+ throw new UniffiInternalError.UnexpectedRustCallStatusCode();
137
+ }
138
+ }
139
+ export const uniffiCaller = new UniffiFfiRsRustCaller();
140
+ export const stringConverter = (() => {
141
+ const encoder = new TextEncoder();
142
+ const decoder = new TextDecoder();
143
+ return {
144
+ stringToBytes: (s) => encoder.encode(s),
145
+ bytesToString: (ab) => decoder.decode(ab),
146
+ stringByteLength: (s) => encoder.encode(s).byteLength,
147
+ };
148
+ })();
149
+ export const FfiConverterString = uniffiCreateFfiConverterString(stringConverter);
150
+ const DataType_UniffiRustBufferStruct = {
151
+ capacity: DataType.U64,
152
+ len: DataType.U64,
153
+ data: DataType.External,
154
+ ffiTypeTag: DataType.StackStruct,
155
+ };
156
+ const DataType_UniffiForeignBytes = {
157
+ len: DataType.I32,
158
+ data: DataType.External,
159
+ ffiTypeTag: DataType.StackStruct,
160
+ };
161
+ /** A UniffiRustBufferValue represents stack allocated structure containing pointer to series of
162
+ * bytes most likely on the heap, along with the size of that data in bytes.
163
+ *
164
+ * It is often used to encode more complex function parameters / return values like structs,
165
+ * optionals, etc.
166
+ *
167
+ * `RustBufferValue`s are behind the scenes backed by manually managed memory on the rust end, and
168
+ * must be explictly destroyed when no longer used to ensure no memory is leaked.
169
+ * */
170
+ export class UniffiRustBufferValue {
171
+ constructor(struct) {
172
+ this.struct = struct;
173
+ }
174
+ static allocateWithBytes(bytes) {
175
+ const [dataPointer] = createPointer({
176
+ paramsType: [arrayConstructor({ type: DataType.U8Array, length: bytes.length })],
177
+ paramsValue: [bytes],
178
+ });
179
+ const rustBuffer = uniffiCaller.rustCall((callStatus) => {
180
+ return FFI_DYNAMIC_LIB.ffi_slim_bindings_rustbuffer_from_bytes([
181
+ // TODO: figure out why this is necessary.
182
+ { data: unwrapPointer([dataPointer])[0], len: bytes.byteLength },
183
+ callStatus,
184
+ ]);
185
+ },
186
+ /*liftString:*/ FfiConverterString.lift);
187
+ freePointer({
188
+ paramsType: [arrayConstructor({ type: DataType.U8Array, length: bytes.byteLength })],
189
+ paramsValue: [dataPointer],
190
+ pointerType: PointerType.RsPointer
191
+ });
192
+ return new UniffiRustBufferValue(rustBuffer);
193
+ }
194
+ static allocateEmpty() {
195
+ return UniffiRustBufferValue.allocateWithBytes(new Uint8Array());
196
+ }
197
+ toStruct() {
198
+ if (!this.struct) {
199
+ throw new Error('Error getting struct data for UniffiRustBufferValue - struct.data has been freed! This is not allowed.');
200
+ }
201
+ return this.struct;
202
+ }
203
+ toUint8Array() {
204
+ if (!this.struct) {
205
+ throw new Error('Error converting rust buffer to uint8array - struct.data has been freed! This is not allowed.');
206
+ }
207
+ if (this.struct.len > Number.MAX_VALUE) {
208
+ throw new Error(`Error converting rust buffer to uint8array - rust buffer length is ${this.struct.len}, which cannot be represented as a Number safely.`);
209
+ }
210
+ const [contents] = restorePointer({
211
+ retType: [arrayConstructor({ type: DataType.U8Array, length: Number(this.struct.len) })],
212
+ paramsValue: wrapPointer([this.struct.data]),
213
+ });
214
+ return new Uint8Array(contents);
215
+ }
216
+ consumeIntoUint8Array() {
217
+ const result = this.toUint8Array();
218
+ this.destroy();
219
+ return result;
220
+ }
221
+ destroy() {
222
+ if (!this.struct) {
223
+ throw new Error('Error destroying UniffiRustBufferValue - already previously destroyed! Double freeing is not allowed.');
224
+ }
225
+ uniffiCaller.rustCall((callStatus) => {
226
+ FFI_DYNAMIC_LIB.ffi_slim_bindings_rustbuffer_free([this.struct, callStatus]);
227
+ },
228
+ /*liftString:*/ FfiConverterString.lift);
229
+ // freePointer({
230
+ // paramsType: [arrayConstructor({ type: DataType.U8Array, length: this.struct.len })],
231
+ // paramsValue: wrapPointer([this.struct.data]),
232
+ // pointerType: PointerType.RsPointer,
233
+ // });
234
+ // console.log('DONE');
235
+ this.struct = null;
236
+ }
237
+ }
238
+ const DataType_UniffiRustCallStatus = {
239
+ code: DataType.U8,
240
+ error_buf: DataType_UniffiRustBufferStruct,
241
+ };
242
+ const DataType_UniffiForeignFutureDroppedCallbackStruct = {
243
+ handle: DataType.U64,
244
+ free: /* callback */ DataType.External,
245
+ // Ensure that the struct is stack defined, without this ffi-rs isn't able to decode the
246
+ // struct properly
247
+ ffiTypeTag: DataType.StackStruct,
248
+ };
249
+ const DataType_UniffiForeignFutureResultU8 = {
250
+ returnValue: DataType.U8,
251
+ callStatus: /* RustCallStatus */ DataType.External,
252
+ // Ensure that the struct is stack defined, without this ffi-rs isn't able to decode the
253
+ // struct properly
254
+ ffiTypeTag: DataType.StackStruct,
255
+ };
256
+ const DataType_UniffiForeignFutureResultI8 = {
257
+ returnValue: /* i8 */ DataType.U8,
258
+ callStatus: /* RustCallStatus */ DataType.External,
259
+ // Ensure that the struct is stack defined, without this ffi-rs isn't able to decode the
260
+ // struct properly
261
+ ffiTypeTag: DataType.StackStruct,
262
+ };
263
+ const DataType_UniffiForeignFutureResultU16 = {
264
+ returnValue: /* u16 */ DataType.U64,
265
+ callStatus: /* RustCallStatus */ DataType.External,
266
+ // Ensure that the struct is stack defined, without this ffi-rs isn't able to decode the
267
+ // struct properly
268
+ ffiTypeTag: DataType.StackStruct,
269
+ };
270
+ const DataType_UniffiForeignFutureResultI16 = {
271
+ returnValue: DataType.I16,
272
+ callStatus: /* RustCallStatus */ DataType.External,
273
+ // Ensure that the struct is stack defined, without this ffi-rs isn't able to decode the
274
+ // struct properly
275
+ ffiTypeTag: DataType.StackStruct,
276
+ };
277
+ const DataType_UniffiForeignFutureResultU32 = {
278
+ returnValue: /* u32 */ DataType.U64,
279
+ callStatus: /* RustCallStatus */ DataType.External,
280
+ // Ensure that the struct is stack defined, without this ffi-rs isn't able to decode the
281
+ // struct properly
282
+ ffiTypeTag: DataType.StackStruct,
283
+ };
284
+ const DataType_UniffiForeignFutureResultI32 = {
285
+ returnValue: DataType.I32,
286
+ callStatus: /* RustCallStatus */ DataType.External,
287
+ // Ensure that the struct is stack defined, without this ffi-rs isn't able to decode the
288
+ // struct properly
289
+ ffiTypeTag: DataType.StackStruct,
290
+ };
291
+ const DataType_UniffiForeignFutureResultU64 = {
292
+ returnValue: DataType.U64,
293
+ callStatus: /* RustCallStatus */ DataType.External,
294
+ // Ensure that the struct is stack defined, without this ffi-rs isn't able to decode the
295
+ // struct properly
296
+ ffiTypeTag: DataType.StackStruct,
297
+ };
298
+ const DataType_UniffiForeignFutureResultI64 = {
299
+ returnValue: DataType.I64,
300
+ callStatus: /* RustCallStatus */ DataType.External,
301
+ // Ensure that the struct is stack defined, without this ffi-rs isn't able to decode the
302
+ // struct properly
303
+ ffiTypeTag: DataType.StackStruct,
304
+ };
305
+ const DataType_UniffiForeignFutureResultF32 = {
306
+ returnValue: /* f32 */ DataType.Float,
307
+ callStatus: /* RustCallStatus */ DataType.External,
308
+ // Ensure that the struct is stack defined, without this ffi-rs isn't able to decode the
309
+ // struct properly
310
+ ffiTypeTag: DataType.StackStruct,
311
+ };
312
+ const DataType_UniffiForeignFutureResultF64 = {
313
+ returnValue: /* f64 */ DataType.Double,
314
+ callStatus: /* RustCallStatus */ DataType.External,
315
+ // Ensure that the struct is stack defined, without this ffi-rs isn't able to decode the
316
+ // struct properly
317
+ ffiTypeTag: DataType.StackStruct,
318
+ };
319
+ const DataType_UniffiForeignFutureResultRustBuffer = {
320
+ returnValue: DataType_UniffiRustBufferStruct,
321
+ callStatus: /* RustCallStatus */ DataType.External,
322
+ // Ensure that the struct is stack defined, without this ffi-rs isn't able to decode the
323
+ // struct properly
324
+ ffiTypeTag: DataType.StackStruct,
325
+ };
326
+ const DataType_UniffiForeignFutureResultVoid = {
327
+ callStatus: /* RustCallStatus */ DataType.External,
328
+ // Ensure that the struct is stack defined, without this ffi-rs isn't able to decode the
329
+ // struct properly
330
+ ffiTypeTag: DataType.StackStruct,
331
+ };
332
+ const DataType_UniffiVTableCallbackInterfaceStreamStreamHandler = {
333
+ uniffiFree: /* callback */ DataType.External,
334
+ uniffiClone: /* callback */ DataType.External,
335
+ handle: /* callback */ DataType.External,
336
+ // Ensure that the struct is stack defined, without this ffi-rs isn't able to decode the
337
+ // struct properly
338
+ ffiTypeTag: DataType.StackStruct,
339
+ };
340
+ const DataType_UniffiVTableCallbackInterfaceStreamUnaryHandler = {
341
+ uniffiFree: /* callback */ DataType.External,
342
+ uniffiClone: /* callback */ DataType.External,
343
+ handle: /* callback */ DataType.External,
344
+ // Ensure that the struct is stack defined, without this ffi-rs isn't able to decode the
345
+ // struct properly
346
+ ffiTypeTag: DataType.StackStruct,
347
+ };
348
+ const DataType_UniffiVTableCallbackInterfaceUnaryStreamHandler = {
349
+ uniffiFree: /* callback */ DataType.External,
350
+ uniffiClone: /* callback */ DataType.External,
351
+ handle: /* callback */ DataType.External,
352
+ // Ensure that the struct is stack defined, without this ffi-rs isn't able to decode the
353
+ // struct properly
354
+ ffiTypeTag: DataType.StackStruct,
355
+ };
356
+ const DataType_UniffiVTableCallbackInterfaceUnaryUnaryHandler = {
357
+ uniffiFree: /* callback */ DataType.External,
358
+ uniffiClone: /* callback */ DataType.External,
359
+ handle: /* callback */ DataType.External,
360
+ // Ensure that the struct is stack defined, without this ffi-rs isn't able to decode the
361
+ // struct properly
362
+ ffiTypeTag: DataType.StackStruct,
363
+ };
364
+ // Actual FFI functions from dynamic library
365
+ /** This direct / "extern C" type FFI interface is bound directly to the functions exposed by the
366
+ * dynamic library. Using this manually from end-user javascript code is unsafe and this is not
367
+ * recommended. */
368
+ const FFI_DYNAMIC_LIB = define({
369
+ RustFutureContinuationCallback: {
370
+ library: "libslim_bindings",
371
+ retType: DataType.Void,
372
+ paramsType: [
373
+ DataType.U64,
374
+ /* i8 */ DataType.U8
375
+ ],
376
+ },
377
+ ForeignFutureDroppedCallback: {
378
+ library: "libslim_bindings",
379
+ retType: DataType.Void,
380
+ paramsType: [
381
+ DataType.U64
382
+ ],
383
+ },
384
+ CallbackInterfaceFree: {
385
+ library: "libslim_bindings",
386
+ retType: DataType.Void,
387
+ paramsType: [
388
+ DataType.U64
389
+ ],
390
+ },
391
+ CallbackInterfaceClone: {
392
+ library: "libslim_bindings",
393
+ retType: DataType.U64,
394
+ paramsType: [
395
+ DataType.U64
396
+ ],
397
+ },
398
+ ForeignFutureCompleteU8: {
399
+ library: "libslim_bindings",
400
+ retType: DataType.Void,
401
+ paramsType: [
402
+ DataType.U64,
403
+ /* UniffiForeignFutureResultU8 */ DataType.U8Array
404
+ ],
405
+ },
406
+ ForeignFutureCompleteI8: {
407
+ library: "libslim_bindings",
408
+ retType: DataType.Void,
409
+ paramsType: [
410
+ DataType.U64,
411
+ /* UniffiForeignFutureResultI8 */ DataType.U8Array
412
+ ],
413
+ },
414
+ ForeignFutureCompleteU16: {
415
+ library: "libslim_bindings",
416
+ retType: DataType.Void,
417
+ paramsType: [
418
+ DataType.U64,
419
+ /* UniffiForeignFutureResultU16 */ DataType.U8Array
420
+ ],
421
+ },
422
+ ForeignFutureCompleteI16: {
423
+ library: "libslim_bindings",
424
+ retType: DataType.Void,
425
+ paramsType: [
426
+ DataType.U64,
427
+ /* UniffiForeignFutureResultI16 */ DataType.U8Array
428
+ ],
429
+ },
430
+ ForeignFutureCompleteU32: {
431
+ library: "libslim_bindings",
432
+ retType: DataType.Void,
433
+ paramsType: [
434
+ DataType.U64,
435
+ /* UniffiForeignFutureResultU32 */ DataType.U8Array
436
+ ],
437
+ },
438
+ ForeignFutureCompleteI32: {
439
+ library: "libslim_bindings",
440
+ retType: DataType.Void,
441
+ paramsType: [
442
+ DataType.U64,
443
+ /* UniffiForeignFutureResultI32 */ DataType.U8Array
444
+ ],
445
+ },
446
+ ForeignFutureCompleteU64: {
447
+ library: "libslim_bindings",
448
+ retType: DataType.Void,
449
+ paramsType: [
450
+ DataType.U64,
451
+ /* UniffiForeignFutureResultU64 */ DataType.U8Array
452
+ ],
453
+ },
454
+ ForeignFutureCompleteI64: {
455
+ library: "libslim_bindings",
456
+ retType: DataType.Void,
457
+ paramsType: [
458
+ DataType.U64,
459
+ /* UniffiForeignFutureResultI64 */ DataType.U8Array
460
+ ],
461
+ },
462
+ ForeignFutureCompleteF32: {
463
+ library: "libslim_bindings",
464
+ retType: DataType.Void,
465
+ paramsType: [
466
+ DataType.U64,
467
+ /* UniffiForeignFutureResultF32 */ DataType.U8Array
468
+ ],
469
+ },
470
+ ForeignFutureCompleteF64: {
471
+ library: "libslim_bindings",
472
+ retType: DataType.Void,
473
+ paramsType: [
474
+ DataType.U64,
475
+ /* UniffiForeignFutureResultF64 */ DataType.U8Array
476
+ ],
477
+ },
478
+ ForeignFutureCompleteRustBuffer: {
479
+ library: "libslim_bindings",
480
+ retType: DataType.Void,
481
+ paramsType: [
482
+ DataType.U64,
483
+ /* UniffiForeignFutureResultRustBuffer */ DataType.U8Array
484
+ ],
485
+ },
486
+ ForeignFutureCompleteVoid: {
487
+ library: "libslim_bindings",
488
+ retType: DataType.Void,
489
+ paramsType: [
490
+ DataType.U64,
491
+ /* UniffiForeignFutureResultVoid */ DataType.U8Array
492
+ ],
493
+ },
494
+ CallbackInterfaceStreamStreamHandlerMethod0: {
495
+ library: "libslim_bindings",
496
+ retType: DataType.Void,
497
+ paramsType: [
498
+ DataType.U64,
499
+ /* handle */ DataType.U64,
500
+ /* handle */ DataType.U64,
501
+ /* handle */ DataType.U64,
502
+ /* callback */ DataType.External,
503
+ DataType.U64,
504
+ /* MutReference to UniffiForeignFutureDroppedCallbackStruct */ DataType.External
505
+ ],
506
+ },
507
+ CallbackInterfaceStreamUnaryHandlerMethod0: {
508
+ library: "libslim_bindings",
509
+ retType: DataType.Void,
510
+ paramsType: [
511
+ DataType.U64,
512
+ /* handle */ DataType.U64,
513
+ /* handle */ DataType.U64,
514
+ /* callback */ DataType.External,
515
+ DataType.U64,
516
+ /* MutReference to UniffiForeignFutureDroppedCallbackStruct */ DataType.External
517
+ ],
518
+ },
519
+ CallbackInterfaceUnaryStreamHandlerMethod0: {
520
+ library: "libslim_bindings",
521
+ retType: DataType.Void,
522
+ paramsType: [
523
+ DataType.U64,
524
+ DataType_UniffiRustBufferStruct,
525
+ /* handle */ DataType.U64,
526
+ /* handle */ DataType.U64,
527
+ /* callback */ DataType.External,
528
+ DataType.U64,
529
+ /* MutReference to UniffiForeignFutureDroppedCallbackStruct */ DataType.External
530
+ ],
531
+ },
532
+ CallbackInterfaceUnaryUnaryHandlerMethod0: {
533
+ library: "libslim_bindings",
534
+ retType: DataType.Void,
535
+ paramsType: [
536
+ DataType.U64,
537
+ DataType_UniffiRustBufferStruct,
538
+ /* handle */ DataType.U64,
539
+ /* callback */ DataType.External,
540
+ DataType.U64,
541
+ /* MutReference to UniffiForeignFutureDroppedCallbackStruct */ DataType.External
542
+ ],
543
+ },
544
+ uniffi_slim_bindings_fn_clone_app: {
545
+ library: "libslim_bindings",
546
+ retType: /* handle */ DataType.U64,
547
+ paramsType: [
548
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
549
+ ],
550
+ },
551
+ uniffi_slim_bindings_fn_free_app: {
552
+ library: "libslim_bindings",
553
+ retType: DataType.Void,
554
+ paramsType: [
555
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
556
+ ],
557
+ },
558
+ uniffi_slim_bindings_fn_constructor_app_new: {
559
+ library: "libslim_bindings",
560
+ retType: /* handle */ DataType.U64,
561
+ paramsType: [
562
+ /* handle */ DataType.U64,
563
+ DataType_UniffiRustBufferStruct,
564
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
565
+ ],
566
+ },
567
+ uniffi_slim_bindings_fn_constructor_app_new_with_direction: {
568
+ library: "libslim_bindings",
569
+ retType: /* handle */ DataType.U64,
570
+ paramsType: [
571
+ /* handle */ DataType.U64,
572
+ DataType_UniffiRustBufferStruct,
573
+ DataType_UniffiRustBufferStruct,
574
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
575
+ ],
576
+ },
577
+ uniffi_slim_bindings_fn_constructor_app_new_with_secret: {
578
+ library: "libslim_bindings",
579
+ retType: /* handle */ DataType.U64,
580
+ paramsType: [
581
+ /* handle */ DataType.U64,
582
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
583
+ ],
584
+ },
585
+ uniffi_slim_bindings_fn_method_app_create_session: {
586
+ library: "libslim_bindings",
587
+ retType: DataType_UniffiRustBufferStruct,
588
+ paramsType: [
589
+ /* handle */ DataType.U64,
590
+ DataType_UniffiRustBufferStruct,
591
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
592
+ ],
593
+ },
594
+ uniffi_slim_bindings_fn_method_app_create_session_and_wait: {
595
+ library: "libslim_bindings",
596
+ retType: /* handle */ DataType.U64,
597
+ paramsType: [
598
+ /* handle */ DataType.U64,
599
+ DataType_UniffiRustBufferStruct,
600
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
601
+ ],
602
+ },
603
+ uniffi_slim_bindings_fn_method_app_create_session_and_wait_async: {
604
+ library: "libslim_bindings",
605
+ retType: /* handle */ DataType.U64,
606
+ paramsType: [
607
+ /* handle */ DataType.U64,
608
+ DataType_UniffiRustBufferStruct,
609
+ /* handle */ DataType.U64
610
+ ],
611
+ },
612
+ uniffi_slim_bindings_fn_method_app_create_session_async: {
613
+ library: "libslim_bindings",
614
+ retType: /* handle */ DataType.U64,
615
+ paramsType: [
616
+ /* handle */ DataType.U64,
617
+ DataType_UniffiRustBufferStruct,
618
+ /* handle */ DataType.U64
619
+ ],
620
+ },
621
+ uniffi_slim_bindings_fn_method_app_delete_session: {
622
+ library: "libslim_bindings",
623
+ retType: /* handle */ DataType.U64,
624
+ paramsType: [
625
+ /* handle */ DataType.U64,
626
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
627
+ ],
628
+ },
629
+ uniffi_slim_bindings_fn_method_app_delete_session_and_wait: {
630
+ library: "libslim_bindings",
631
+ retType: DataType.Void,
632
+ paramsType: [
633
+ /* handle */ DataType.U64,
634
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
635
+ ],
636
+ },
637
+ uniffi_slim_bindings_fn_method_app_delete_session_and_wait_async: {
638
+ library: "libslim_bindings",
639
+ retType: /* handle */ DataType.U64,
640
+ paramsType: [
641
+ /* handle */ DataType.U64,
642
+ /* handle */ DataType.U64
643
+ ],
644
+ },
645
+ uniffi_slim_bindings_fn_method_app_delete_session_async: {
646
+ library: "libslim_bindings",
647
+ retType: /* handle */ DataType.U64,
648
+ paramsType: [
649
+ /* handle */ DataType.U64,
650
+ /* handle */ DataType.U64
651
+ ],
652
+ },
653
+ uniffi_slim_bindings_fn_method_app_id: {
654
+ library: "libslim_bindings",
655
+ retType: DataType.U64,
656
+ paramsType: [
657
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
658
+ ],
659
+ },
660
+ uniffi_slim_bindings_fn_method_app_listen_for_session: {
661
+ library: "libslim_bindings",
662
+ retType: /* handle */ DataType.U64,
663
+ paramsType: [
664
+ /* handle */ DataType.U64,
665
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
666
+ ],
667
+ },
668
+ uniffi_slim_bindings_fn_method_app_listen_for_session_async: {
669
+ library: "libslim_bindings",
670
+ retType: /* handle */ DataType.U64,
671
+ paramsType: [
672
+ /* handle */ DataType.U64,
673
+ DataType_UniffiRustBufferStruct
674
+ ],
675
+ },
676
+ uniffi_slim_bindings_fn_method_app_name: {
677
+ library: "libslim_bindings",
678
+ retType: /* handle */ DataType.U64,
679
+ paramsType: [
680
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
681
+ ],
682
+ },
683
+ uniffi_slim_bindings_fn_method_app_remove_route: {
684
+ library: "libslim_bindings",
685
+ retType: DataType.Void,
686
+ paramsType: [
687
+ /* handle */ DataType.U64,
688
+ /* handle */ DataType.U64,
689
+ DataType.U64, /* RustCallStatus */ DataType.External
690
+ ],
691
+ },
692
+ uniffi_slim_bindings_fn_method_app_remove_route_async: {
693
+ library: "libslim_bindings",
694
+ retType: /* handle */ DataType.U64,
695
+ paramsType: [
696
+ /* handle */ DataType.U64,
697
+ /* handle */ DataType.U64,
698
+ DataType.U64
699
+ ],
700
+ },
701
+ uniffi_slim_bindings_fn_method_app_set_route: {
702
+ library: "libslim_bindings",
703
+ retType: DataType.Void,
704
+ paramsType: [
705
+ /* handle */ DataType.U64,
706
+ /* handle */ DataType.U64,
707
+ DataType.U64, /* RustCallStatus */ DataType.External
708
+ ],
709
+ },
710
+ uniffi_slim_bindings_fn_method_app_set_route_async: {
711
+ library: "libslim_bindings",
712
+ retType: /* handle */ DataType.U64,
713
+ paramsType: [
714
+ /* handle */ DataType.U64,
715
+ /* handle */ DataType.U64,
716
+ DataType.U64
717
+ ],
718
+ },
719
+ uniffi_slim_bindings_fn_method_app_subscribe: {
720
+ library: "libslim_bindings",
721
+ retType: DataType.Void,
722
+ paramsType: [
723
+ /* handle */ DataType.U64,
724
+ /* handle */ DataType.U64,
725
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
726
+ ],
727
+ },
728
+ uniffi_slim_bindings_fn_method_app_subscribe_async: {
729
+ library: "libslim_bindings",
730
+ retType: /* handle */ DataType.U64,
731
+ paramsType: [
732
+ /* handle */ DataType.U64,
733
+ /* handle */ DataType.U64,
734
+ DataType_UniffiRustBufferStruct
735
+ ],
736
+ },
737
+ uniffi_slim_bindings_fn_method_app_unsubscribe: {
738
+ library: "libslim_bindings",
739
+ retType: DataType.Void,
740
+ paramsType: [
741
+ /* handle */ DataType.U64,
742
+ /* handle */ DataType.U64,
743
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
744
+ ],
745
+ },
746
+ uniffi_slim_bindings_fn_method_app_unsubscribe_async: {
747
+ library: "libslim_bindings",
748
+ retType: /* handle */ DataType.U64,
749
+ paramsType: [
750
+ /* handle */ DataType.U64,
751
+ /* handle */ DataType.U64,
752
+ DataType_UniffiRustBufferStruct
753
+ ],
754
+ },
755
+ uniffi_slim_bindings_fn_clone_bidistreamhandler: {
756
+ library: "libslim_bindings",
757
+ retType: /* handle */ DataType.U64,
758
+ paramsType: [
759
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
760
+ ],
761
+ },
762
+ uniffi_slim_bindings_fn_free_bidistreamhandler: {
763
+ library: "libslim_bindings",
764
+ retType: DataType.Void,
765
+ paramsType: [
766
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
767
+ ],
768
+ },
769
+ uniffi_slim_bindings_fn_method_bidistreamhandler_close_send: {
770
+ library: "libslim_bindings",
771
+ retType: DataType.Void,
772
+ paramsType: [
773
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
774
+ ],
775
+ },
776
+ uniffi_slim_bindings_fn_method_bidistreamhandler_close_send_async: {
777
+ library: "libslim_bindings",
778
+ retType: /* handle */ DataType.U64,
779
+ paramsType: [
780
+ /* handle */ DataType.U64
781
+ ],
782
+ },
783
+ uniffi_slim_bindings_fn_method_bidistreamhandler_recv: {
784
+ library: "libslim_bindings",
785
+ retType: DataType_UniffiRustBufferStruct,
786
+ paramsType: [
787
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
788
+ ],
789
+ },
790
+ uniffi_slim_bindings_fn_method_bidistreamhandler_recv_async: {
791
+ library: "libslim_bindings",
792
+ retType: /* handle */ DataType.U64,
793
+ paramsType: [
794
+ /* handle */ DataType.U64
795
+ ],
796
+ },
797
+ uniffi_slim_bindings_fn_method_bidistreamhandler_send: {
798
+ library: "libslim_bindings",
799
+ retType: DataType.Void,
800
+ paramsType: [
801
+ /* handle */ DataType.U64,
802
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
803
+ ],
804
+ },
805
+ uniffi_slim_bindings_fn_method_bidistreamhandler_send_async: {
806
+ library: "libslim_bindings",
807
+ retType: /* handle */ DataType.U64,
808
+ paramsType: [
809
+ /* handle */ DataType.U64,
810
+ DataType_UniffiRustBufferStruct
811
+ ],
812
+ },
813
+ uniffi_slim_bindings_fn_clone_channel: {
814
+ library: "libslim_bindings",
815
+ retType: /* handle */ DataType.U64,
816
+ paramsType: [
817
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
818
+ ],
819
+ },
820
+ uniffi_slim_bindings_fn_free_channel: {
821
+ library: "libslim_bindings",
822
+ retType: DataType.Void,
823
+ paramsType: [
824
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
825
+ ],
826
+ },
827
+ uniffi_slim_bindings_fn_constructor_channel_new: {
828
+ library: "libslim_bindings",
829
+ retType: /* handle */ DataType.U64,
830
+ paramsType: [
831
+ /* handle */ DataType.U64,
832
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
833
+ ],
834
+ },
835
+ uniffi_slim_bindings_fn_constructor_channel_new_with_connection: {
836
+ library: "libslim_bindings",
837
+ retType: /* handle */ DataType.U64,
838
+ paramsType: [
839
+ /* handle */ DataType.U64,
840
+ /* handle */ DataType.U64,
841
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
842
+ ],
843
+ },
844
+ uniffi_slim_bindings_fn_method_channel_call_stream_stream: {
845
+ library: "libslim_bindings",
846
+ retType: /* handle */ DataType.U64,
847
+ paramsType: [
848
+ /* handle */ DataType.U64,
849
+ DataType_UniffiRustBufferStruct,
850
+ DataType_UniffiRustBufferStruct,
851
+ DataType_UniffiRustBufferStruct,
852
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
853
+ ],
854
+ },
855
+ uniffi_slim_bindings_fn_method_channel_call_stream_unary: {
856
+ library: "libslim_bindings",
857
+ retType: /* handle */ DataType.U64,
858
+ paramsType: [
859
+ /* handle */ DataType.U64,
860
+ DataType_UniffiRustBufferStruct,
861
+ DataType_UniffiRustBufferStruct,
862
+ DataType_UniffiRustBufferStruct,
863
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
864
+ ],
865
+ },
866
+ uniffi_slim_bindings_fn_method_channel_call_unary: {
867
+ library: "libslim_bindings",
868
+ retType: DataType_UniffiRustBufferStruct,
869
+ paramsType: [
870
+ /* handle */ DataType.U64,
871
+ DataType_UniffiRustBufferStruct,
872
+ DataType_UniffiRustBufferStruct,
873
+ DataType_UniffiRustBufferStruct,
874
+ DataType_UniffiRustBufferStruct,
875
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
876
+ ],
877
+ },
878
+ uniffi_slim_bindings_fn_method_channel_call_unary_async: {
879
+ library: "libslim_bindings",
880
+ retType: /* handle */ DataType.U64,
881
+ paramsType: [
882
+ /* handle */ DataType.U64,
883
+ DataType_UniffiRustBufferStruct,
884
+ DataType_UniffiRustBufferStruct,
885
+ DataType_UniffiRustBufferStruct,
886
+ DataType_UniffiRustBufferStruct,
887
+ DataType_UniffiRustBufferStruct
888
+ ],
889
+ },
890
+ uniffi_slim_bindings_fn_method_channel_call_unary_stream: {
891
+ library: "libslim_bindings",
892
+ retType: /* handle */ DataType.U64,
893
+ paramsType: [
894
+ /* handle */ DataType.U64,
895
+ DataType_UniffiRustBufferStruct,
896
+ DataType_UniffiRustBufferStruct,
897
+ DataType_UniffiRustBufferStruct,
898
+ DataType_UniffiRustBufferStruct,
899
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
900
+ ],
901
+ },
902
+ uniffi_slim_bindings_fn_method_channel_call_unary_stream_async: {
903
+ library: "libslim_bindings",
904
+ retType: /* handle */ DataType.U64,
905
+ paramsType: [
906
+ /* handle */ DataType.U64,
907
+ DataType_UniffiRustBufferStruct,
908
+ DataType_UniffiRustBufferStruct,
909
+ DataType_UniffiRustBufferStruct,
910
+ DataType_UniffiRustBufferStruct,
911
+ DataType_UniffiRustBufferStruct
912
+ ],
913
+ },
914
+ uniffi_slim_bindings_fn_clone_completionhandle: {
915
+ library: "libslim_bindings",
916
+ retType: /* handle */ DataType.U64,
917
+ paramsType: [
918
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
919
+ ],
920
+ },
921
+ uniffi_slim_bindings_fn_free_completionhandle: {
922
+ library: "libslim_bindings",
923
+ retType: DataType.Void,
924
+ paramsType: [
925
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
926
+ ],
927
+ },
928
+ uniffi_slim_bindings_fn_method_completionhandle_wait: {
929
+ library: "libslim_bindings",
930
+ retType: DataType.Void,
931
+ paramsType: [
932
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
933
+ ],
934
+ },
935
+ uniffi_slim_bindings_fn_method_completionhandle_wait_async: {
936
+ library: "libslim_bindings",
937
+ retType: /* handle */ DataType.U64,
938
+ paramsType: [
939
+ /* handle */ DataType.U64
940
+ ],
941
+ },
942
+ uniffi_slim_bindings_fn_method_completionhandle_wait_for: {
943
+ library: "libslim_bindings",
944
+ retType: DataType.Void,
945
+ paramsType: [
946
+ /* handle */ DataType.U64,
947
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
948
+ ],
949
+ },
950
+ uniffi_slim_bindings_fn_method_completionhandle_wait_for_async: {
951
+ library: "libslim_bindings",
952
+ retType: /* handle */ DataType.U64,
953
+ paramsType: [
954
+ /* handle */ DataType.U64,
955
+ DataType_UniffiRustBufferStruct
956
+ ],
957
+ },
958
+ uniffi_slim_bindings_fn_clone_context: {
959
+ library: "libslim_bindings",
960
+ retType: /* handle */ DataType.U64,
961
+ paramsType: [
962
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
963
+ ],
964
+ },
965
+ uniffi_slim_bindings_fn_free_context: {
966
+ library: "libslim_bindings",
967
+ retType: DataType.Void,
968
+ paramsType: [
969
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
970
+ ],
971
+ },
972
+ uniffi_slim_bindings_fn_method_context_deadline: {
973
+ library: "libslim_bindings",
974
+ retType: DataType_UniffiRustBufferStruct,
975
+ paramsType: [
976
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
977
+ ],
978
+ },
979
+ uniffi_slim_bindings_fn_method_context_is_deadline_exceeded: {
980
+ library: "libslim_bindings",
981
+ retType: /* i8 */ DataType.U8,
982
+ paramsType: [
983
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
984
+ ],
985
+ },
986
+ uniffi_slim_bindings_fn_method_context_metadata: {
987
+ library: "libslim_bindings",
988
+ retType: DataType_UniffiRustBufferStruct,
989
+ paramsType: [
990
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
991
+ ],
992
+ },
993
+ uniffi_slim_bindings_fn_method_context_remaining_time: {
994
+ library: "libslim_bindings",
995
+ retType: DataType_UniffiRustBufferStruct,
996
+ paramsType: [
997
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
998
+ ],
999
+ },
1000
+ uniffi_slim_bindings_fn_method_context_session_id: {
1001
+ library: "libslim_bindings",
1002
+ retType: DataType_UniffiRustBufferStruct,
1003
+ paramsType: [
1004
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1005
+ ],
1006
+ },
1007
+ uniffi_slim_bindings_fn_clone_name: {
1008
+ library: "libslim_bindings",
1009
+ retType: /* handle */ DataType.U64,
1010
+ paramsType: [
1011
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1012
+ ],
1013
+ },
1014
+ uniffi_slim_bindings_fn_free_name: {
1015
+ library: "libslim_bindings",
1016
+ retType: DataType.Void,
1017
+ paramsType: [
1018
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1019
+ ],
1020
+ },
1021
+ uniffi_slim_bindings_fn_constructor_name_new: {
1022
+ library: "libslim_bindings",
1023
+ retType: /* handle */ DataType.U64,
1024
+ paramsType: [
1025
+ DataType_UniffiRustBufferStruct,
1026
+ DataType_UniffiRustBufferStruct,
1027
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
1028
+ ],
1029
+ },
1030
+ uniffi_slim_bindings_fn_constructor_name_new_with_id: {
1031
+ library: "libslim_bindings",
1032
+ retType: /* handle */ DataType.U64,
1033
+ paramsType: [
1034
+ DataType_UniffiRustBufferStruct,
1035
+ DataType_UniffiRustBufferStruct,
1036
+ DataType_UniffiRustBufferStruct,
1037
+ DataType.U64, /* RustCallStatus */ DataType.External
1038
+ ],
1039
+ },
1040
+ uniffi_slim_bindings_fn_method_name_components: {
1041
+ library: "libslim_bindings",
1042
+ retType: DataType_UniffiRustBufferStruct,
1043
+ paramsType: [
1044
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1045
+ ],
1046
+ },
1047
+ uniffi_slim_bindings_fn_method_name_id: {
1048
+ library: "libslim_bindings",
1049
+ retType: DataType.U64,
1050
+ paramsType: [
1051
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1052
+ ],
1053
+ },
1054
+ uniffi_slim_bindings_fn_method_name_uniffi_trait_debug: {
1055
+ library: "libslim_bindings",
1056
+ retType: DataType_UniffiRustBufferStruct,
1057
+ paramsType: [
1058
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1059
+ ],
1060
+ },
1061
+ uniffi_slim_bindings_fn_method_name_uniffi_trait_display: {
1062
+ library: "libslim_bindings",
1063
+ retType: DataType_UniffiRustBufferStruct,
1064
+ paramsType: [
1065
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1066
+ ],
1067
+ },
1068
+ uniffi_slim_bindings_fn_method_name_uniffi_trait_eq_eq: {
1069
+ library: "libslim_bindings",
1070
+ retType: /* i8 */ DataType.U8,
1071
+ paramsType: [
1072
+ /* handle */ DataType.U64,
1073
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1074
+ ],
1075
+ },
1076
+ uniffi_slim_bindings_fn_method_name_uniffi_trait_eq_ne: {
1077
+ library: "libslim_bindings",
1078
+ retType: /* i8 */ DataType.U8,
1079
+ paramsType: [
1080
+ /* handle */ DataType.U64,
1081
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1082
+ ],
1083
+ },
1084
+ uniffi_slim_bindings_fn_clone_requeststream: {
1085
+ library: "libslim_bindings",
1086
+ retType: /* handle */ DataType.U64,
1087
+ paramsType: [
1088
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1089
+ ],
1090
+ },
1091
+ uniffi_slim_bindings_fn_free_requeststream: {
1092
+ library: "libslim_bindings",
1093
+ retType: DataType.Void,
1094
+ paramsType: [
1095
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1096
+ ],
1097
+ },
1098
+ uniffi_slim_bindings_fn_method_requeststream_next: {
1099
+ library: "libslim_bindings",
1100
+ retType: DataType_UniffiRustBufferStruct,
1101
+ paramsType: [
1102
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1103
+ ],
1104
+ },
1105
+ uniffi_slim_bindings_fn_method_requeststream_next_async: {
1106
+ library: "libslim_bindings",
1107
+ retType: /* handle */ DataType.U64,
1108
+ paramsType: [
1109
+ /* handle */ DataType.U64
1110
+ ],
1111
+ },
1112
+ uniffi_slim_bindings_fn_clone_requeststreamwriter: {
1113
+ library: "libslim_bindings",
1114
+ retType: /* handle */ DataType.U64,
1115
+ paramsType: [
1116
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1117
+ ],
1118
+ },
1119
+ uniffi_slim_bindings_fn_free_requeststreamwriter: {
1120
+ library: "libslim_bindings",
1121
+ retType: DataType.Void,
1122
+ paramsType: [
1123
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1124
+ ],
1125
+ },
1126
+ uniffi_slim_bindings_fn_method_requeststreamwriter_finalize: {
1127
+ library: "libslim_bindings",
1128
+ retType: DataType_UniffiRustBufferStruct,
1129
+ paramsType: [
1130
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1131
+ ],
1132
+ },
1133
+ uniffi_slim_bindings_fn_method_requeststreamwriter_finalize_async: {
1134
+ library: "libslim_bindings",
1135
+ retType: /* handle */ DataType.U64,
1136
+ paramsType: [
1137
+ /* handle */ DataType.U64
1138
+ ],
1139
+ },
1140
+ uniffi_slim_bindings_fn_method_requeststreamwriter_send: {
1141
+ library: "libslim_bindings",
1142
+ retType: DataType.Void,
1143
+ paramsType: [
1144
+ /* handle */ DataType.U64,
1145
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
1146
+ ],
1147
+ },
1148
+ uniffi_slim_bindings_fn_method_requeststreamwriter_send_async: {
1149
+ library: "libslim_bindings",
1150
+ retType: /* handle */ DataType.U64,
1151
+ paramsType: [
1152
+ /* handle */ DataType.U64,
1153
+ DataType_UniffiRustBufferStruct
1154
+ ],
1155
+ },
1156
+ uniffi_slim_bindings_fn_clone_responsesink: {
1157
+ library: "libslim_bindings",
1158
+ retType: /* handle */ DataType.U64,
1159
+ paramsType: [
1160
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1161
+ ],
1162
+ },
1163
+ uniffi_slim_bindings_fn_free_responsesink: {
1164
+ library: "libslim_bindings",
1165
+ retType: DataType.Void,
1166
+ paramsType: [
1167
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1168
+ ],
1169
+ },
1170
+ uniffi_slim_bindings_fn_method_responsesink_close: {
1171
+ library: "libslim_bindings",
1172
+ retType: DataType.Void,
1173
+ paramsType: [
1174
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1175
+ ],
1176
+ },
1177
+ uniffi_slim_bindings_fn_method_responsesink_close_async: {
1178
+ library: "libslim_bindings",
1179
+ retType: /* handle */ DataType.U64,
1180
+ paramsType: [
1181
+ /* handle */ DataType.U64
1182
+ ],
1183
+ },
1184
+ uniffi_slim_bindings_fn_method_responsesink_is_closed: {
1185
+ library: "libslim_bindings",
1186
+ retType: /* i8 */ DataType.U8,
1187
+ paramsType: [
1188
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1189
+ ],
1190
+ },
1191
+ uniffi_slim_bindings_fn_method_responsesink_is_closed_async: {
1192
+ library: "libslim_bindings",
1193
+ retType: /* handle */ DataType.U64,
1194
+ paramsType: [
1195
+ /* handle */ DataType.U64
1196
+ ],
1197
+ },
1198
+ uniffi_slim_bindings_fn_method_responsesink_send: {
1199
+ library: "libslim_bindings",
1200
+ retType: DataType.Void,
1201
+ paramsType: [
1202
+ /* handle */ DataType.U64,
1203
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
1204
+ ],
1205
+ },
1206
+ uniffi_slim_bindings_fn_method_responsesink_send_async: {
1207
+ library: "libslim_bindings",
1208
+ retType: /* handle */ DataType.U64,
1209
+ paramsType: [
1210
+ /* handle */ DataType.U64,
1211
+ DataType_UniffiRustBufferStruct
1212
+ ],
1213
+ },
1214
+ uniffi_slim_bindings_fn_method_responsesink_send_error: {
1215
+ library: "libslim_bindings",
1216
+ retType: DataType.Void,
1217
+ paramsType: [
1218
+ /* handle */ DataType.U64,
1219
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
1220
+ ],
1221
+ },
1222
+ uniffi_slim_bindings_fn_method_responsesink_send_error_async: {
1223
+ library: "libslim_bindings",
1224
+ retType: /* handle */ DataType.U64,
1225
+ paramsType: [
1226
+ /* handle */ DataType.U64,
1227
+ DataType_UniffiRustBufferStruct
1228
+ ],
1229
+ },
1230
+ uniffi_slim_bindings_fn_clone_responsestreamreader: {
1231
+ library: "libslim_bindings",
1232
+ retType: /* handle */ DataType.U64,
1233
+ paramsType: [
1234
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1235
+ ],
1236
+ },
1237
+ uniffi_slim_bindings_fn_free_responsestreamreader: {
1238
+ library: "libslim_bindings",
1239
+ retType: DataType.Void,
1240
+ paramsType: [
1241
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1242
+ ],
1243
+ },
1244
+ uniffi_slim_bindings_fn_method_responsestreamreader_next: {
1245
+ library: "libslim_bindings",
1246
+ retType: DataType_UniffiRustBufferStruct,
1247
+ paramsType: [
1248
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1249
+ ],
1250
+ },
1251
+ uniffi_slim_bindings_fn_method_responsestreamreader_next_async: {
1252
+ library: "libslim_bindings",
1253
+ retType: /* handle */ DataType.U64,
1254
+ paramsType: [
1255
+ /* handle */ DataType.U64
1256
+ ],
1257
+ },
1258
+ uniffi_slim_bindings_fn_clone_server: {
1259
+ library: "libslim_bindings",
1260
+ retType: /* handle */ DataType.U64,
1261
+ paramsType: [
1262
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1263
+ ],
1264
+ },
1265
+ uniffi_slim_bindings_fn_free_server: {
1266
+ library: "libslim_bindings",
1267
+ retType: DataType.Void,
1268
+ paramsType: [
1269
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1270
+ ],
1271
+ },
1272
+ uniffi_slim_bindings_fn_constructor_server_new: {
1273
+ library: "libslim_bindings",
1274
+ retType: /* handle */ DataType.U64,
1275
+ paramsType: [
1276
+ /* handle */ DataType.U64,
1277
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1278
+ ],
1279
+ },
1280
+ uniffi_slim_bindings_fn_constructor_server_new_with_connection: {
1281
+ library: "libslim_bindings",
1282
+ retType: /* handle */ DataType.U64,
1283
+ paramsType: [
1284
+ /* handle */ DataType.U64,
1285
+ /* handle */ DataType.U64,
1286
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
1287
+ ],
1288
+ },
1289
+ uniffi_slim_bindings_fn_method_server_register_stream_stream: {
1290
+ library: "libslim_bindings",
1291
+ retType: DataType.Void,
1292
+ paramsType: [
1293
+ /* handle */ DataType.U64,
1294
+ DataType_UniffiRustBufferStruct,
1295
+ DataType_UniffiRustBufferStruct,
1296
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1297
+ ],
1298
+ },
1299
+ uniffi_slim_bindings_fn_method_server_register_stream_unary: {
1300
+ library: "libslim_bindings",
1301
+ retType: DataType.Void,
1302
+ paramsType: [
1303
+ /* handle */ DataType.U64,
1304
+ DataType_UniffiRustBufferStruct,
1305
+ DataType_UniffiRustBufferStruct,
1306
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1307
+ ],
1308
+ },
1309
+ uniffi_slim_bindings_fn_method_server_register_unary_stream: {
1310
+ library: "libslim_bindings",
1311
+ retType: DataType.Void,
1312
+ paramsType: [
1313
+ /* handle */ DataType.U64,
1314
+ DataType_UniffiRustBufferStruct,
1315
+ DataType_UniffiRustBufferStruct,
1316
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1317
+ ],
1318
+ },
1319
+ uniffi_slim_bindings_fn_method_server_register_unary_unary: {
1320
+ library: "libslim_bindings",
1321
+ retType: DataType.Void,
1322
+ paramsType: [
1323
+ /* handle */ DataType.U64,
1324
+ DataType_UniffiRustBufferStruct,
1325
+ DataType_UniffiRustBufferStruct,
1326
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1327
+ ],
1328
+ },
1329
+ uniffi_slim_bindings_fn_method_server_serve: {
1330
+ library: "libslim_bindings",
1331
+ retType: DataType.Void,
1332
+ paramsType: [
1333
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1334
+ ],
1335
+ },
1336
+ uniffi_slim_bindings_fn_method_server_serve_async: {
1337
+ library: "libslim_bindings",
1338
+ retType: /* handle */ DataType.U64,
1339
+ paramsType: [
1340
+ /* handle */ DataType.U64
1341
+ ],
1342
+ },
1343
+ uniffi_slim_bindings_fn_method_server_shutdown: {
1344
+ library: "libslim_bindings",
1345
+ retType: DataType.Void,
1346
+ paramsType: [
1347
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1348
+ ],
1349
+ },
1350
+ uniffi_slim_bindings_fn_method_server_shutdown_async: {
1351
+ library: "libslim_bindings",
1352
+ retType: /* handle */ DataType.U64,
1353
+ paramsType: [
1354
+ /* handle */ DataType.U64
1355
+ ],
1356
+ },
1357
+ uniffi_slim_bindings_fn_clone_service: {
1358
+ library: "libslim_bindings",
1359
+ retType: /* handle */ DataType.U64,
1360
+ paramsType: [
1361
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1362
+ ],
1363
+ },
1364
+ uniffi_slim_bindings_fn_free_service: {
1365
+ library: "libslim_bindings",
1366
+ retType: DataType.Void,
1367
+ paramsType: [
1368
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1369
+ ],
1370
+ },
1371
+ uniffi_slim_bindings_fn_constructor_service_new: {
1372
+ library: "libslim_bindings",
1373
+ retType: /* handle */ DataType.U64,
1374
+ paramsType: [
1375
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
1376
+ ],
1377
+ },
1378
+ uniffi_slim_bindings_fn_constructor_service_new_with_config: {
1379
+ library: "libslim_bindings",
1380
+ retType: /* handle */ DataType.U64,
1381
+ paramsType: [
1382
+ DataType_UniffiRustBufferStruct,
1383
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
1384
+ ],
1385
+ },
1386
+ uniffi_slim_bindings_fn_method_service_config: {
1387
+ library: "libslim_bindings",
1388
+ retType: DataType_UniffiRustBufferStruct,
1389
+ paramsType: [
1390
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1391
+ ],
1392
+ },
1393
+ uniffi_slim_bindings_fn_method_service_connect: {
1394
+ library: "libslim_bindings",
1395
+ retType: DataType.U64,
1396
+ paramsType: [
1397
+ /* handle */ DataType.U64,
1398
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
1399
+ ],
1400
+ },
1401
+ uniffi_slim_bindings_fn_method_service_connect_async: {
1402
+ library: "libslim_bindings",
1403
+ retType: /* handle */ DataType.U64,
1404
+ paramsType: [
1405
+ /* handle */ DataType.U64,
1406
+ DataType_UniffiRustBufferStruct
1407
+ ],
1408
+ },
1409
+ uniffi_slim_bindings_fn_method_service_create_app: {
1410
+ library: "libslim_bindings",
1411
+ retType: /* handle */ DataType.U64,
1412
+ paramsType: [
1413
+ /* handle */ DataType.U64,
1414
+ /* handle */ DataType.U64,
1415
+ DataType_UniffiRustBufferStruct,
1416
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
1417
+ ],
1418
+ },
1419
+ uniffi_slim_bindings_fn_method_service_create_app_async: {
1420
+ library: "libslim_bindings",
1421
+ retType: /* handle */ DataType.U64,
1422
+ paramsType: [
1423
+ /* handle */ DataType.U64,
1424
+ /* handle */ DataType.U64,
1425
+ DataType_UniffiRustBufferStruct,
1426
+ DataType_UniffiRustBufferStruct
1427
+ ],
1428
+ },
1429
+ uniffi_slim_bindings_fn_method_service_create_app_with_direction: {
1430
+ library: "libslim_bindings",
1431
+ retType: /* handle */ DataType.U64,
1432
+ paramsType: [
1433
+ /* handle */ DataType.U64,
1434
+ /* handle */ DataType.U64,
1435
+ DataType_UniffiRustBufferStruct,
1436
+ DataType_UniffiRustBufferStruct,
1437
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
1438
+ ],
1439
+ },
1440
+ uniffi_slim_bindings_fn_method_service_create_app_with_direction_async: {
1441
+ library: "libslim_bindings",
1442
+ retType: /* handle */ DataType.U64,
1443
+ paramsType: [
1444
+ /* handle */ DataType.U64,
1445
+ /* handle */ DataType.U64,
1446
+ DataType_UniffiRustBufferStruct,
1447
+ DataType_UniffiRustBufferStruct,
1448
+ DataType_UniffiRustBufferStruct
1449
+ ],
1450
+ },
1451
+ uniffi_slim_bindings_fn_method_service_create_app_with_secret: {
1452
+ library: "libslim_bindings",
1453
+ retType: /* handle */ DataType.U64,
1454
+ paramsType: [
1455
+ /* handle */ DataType.U64,
1456
+ /* handle */ DataType.U64,
1457
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
1458
+ ],
1459
+ },
1460
+ uniffi_slim_bindings_fn_method_service_create_app_with_secret_async: {
1461
+ library: "libslim_bindings",
1462
+ retType: /* handle */ DataType.U64,
1463
+ paramsType: [
1464
+ /* handle */ DataType.U64,
1465
+ /* handle */ DataType.U64,
1466
+ DataType_UniffiRustBufferStruct
1467
+ ],
1468
+ },
1469
+ uniffi_slim_bindings_fn_method_service_disconnect: {
1470
+ library: "libslim_bindings",
1471
+ retType: DataType.Void,
1472
+ paramsType: [
1473
+ /* handle */ DataType.U64,
1474
+ DataType.U64, /* RustCallStatus */ DataType.External
1475
+ ],
1476
+ },
1477
+ uniffi_slim_bindings_fn_method_service_get_connection_id: {
1478
+ library: "libslim_bindings",
1479
+ retType: DataType_UniffiRustBufferStruct,
1480
+ paramsType: [
1481
+ /* handle */ DataType.U64,
1482
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
1483
+ ],
1484
+ },
1485
+ uniffi_slim_bindings_fn_method_service_get_name: {
1486
+ library: "libslim_bindings",
1487
+ retType: DataType_UniffiRustBufferStruct,
1488
+ paramsType: [
1489
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1490
+ ],
1491
+ },
1492
+ uniffi_slim_bindings_fn_method_service_run: {
1493
+ library: "libslim_bindings",
1494
+ retType: DataType.Void,
1495
+ paramsType: [
1496
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1497
+ ],
1498
+ },
1499
+ uniffi_slim_bindings_fn_method_service_run_async: {
1500
+ library: "libslim_bindings",
1501
+ retType: /* handle */ DataType.U64,
1502
+ paramsType: [
1503
+ /* handle */ DataType.U64
1504
+ ],
1505
+ },
1506
+ uniffi_slim_bindings_fn_method_service_run_server: {
1507
+ library: "libslim_bindings",
1508
+ retType: DataType.Void,
1509
+ paramsType: [
1510
+ /* handle */ DataType.U64,
1511
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
1512
+ ],
1513
+ },
1514
+ uniffi_slim_bindings_fn_method_service_run_server_async: {
1515
+ library: "libslim_bindings",
1516
+ retType: /* handle */ DataType.U64,
1517
+ paramsType: [
1518
+ /* handle */ DataType.U64,
1519
+ DataType_UniffiRustBufferStruct
1520
+ ],
1521
+ },
1522
+ uniffi_slim_bindings_fn_method_service_shutdown: {
1523
+ library: "libslim_bindings",
1524
+ retType: DataType.Void,
1525
+ paramsType: [
1526
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1527
+ ],
1528
+ },
1529
+ uniffi_slim_bindings_fn_method_service_shutdown_async: {
1530
+ library: "libslim_bindings",
1531
+ retType: /* handle */ DataType.U64,
1532
+ paramsType: [
1533
+ /* handle */ DataType.U64
1534
+ ],
1535
+ },
1536
+ uniffi_slim_bindings_fn_method_service_stop_server: {
1537
+ library: "libslim_bindings",
1538
+ retType: DataType.Void,
1539
+ paramsType: [
1540
+ /* handle */ DataType.U64,
1541
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
1542
+ ],
1543
+ },
1544
+ uniffi_slim_bindings_fn_clone_session: {
1545
+ library: "libslim_bindings",
1546
+ retType: /* handle */ DataType.U64,
1547
+ paramsType: [
1548
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1549
+ ],
1550
+ },
1551
+ uniffi_slim_bindings_fn_free_session: {
1552
+ library: "libslim_bindings",
1553
+ retType: DataType.Void,
1554
+ paramsType: [
1555
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1556
+ ],
1557
+ },
1558
+ uniffi_slim_bindings_fn_method_session_config: {
1559
+ library: "libslim_bindings",
1560
+ retType: DataType_UniffiRustBufferStruct,
1561
+ paramsType: [
1562
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1563
+ ],
1564
+ },
1565
+ uniffi_slim_bindings_fn_method_session_destination: {
1566
+ library: "libslim_bindings",
1567
+ retType: /* handle */ DataType.U64,
1568
+ paramsType: [
1569
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1570
+ ],
1571
+ },
1572
+ uniffi_slim_bindings_fn_method_session_get_message: {
1573
+ library: "libslim_bindings",
1574
+ retType: DataType_UniffiRustBufferStruct,
1575
+ paramsType: [
1576
+ /* handle */ DataType.U64,
1577
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
1578
+ ],
1579
+ },
1580
+ uniffi_slim_bindings_fn_method_session_get_message_async: {
1581
+ library: "libslim_bindings",
1582
+ retType: /* handle */ DataType.U64,
1583
+ paramsType: [
1584
+ /* handle */ DataType.U64,
1585
+ DataType_UniffiRustBufferStruct
1586
+ ],
1587
+ },
1588
+ uniffi_slim_bindings_fn_method_session_invite: {
1589
+ library: "libslim_bindings",
1590
+ retType: /* handle */ DataType.U64,
1591
+ paramsType: [
1592
+ /* handle */ DataType.U64,
1593
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1594
+ ],
1595
+ },
1596
+ uniffi_slim_bindings_fn_method_session_invite_and_wait: {
1597
+ library: "libslim_bindings",
1598
+ retType: DataType.Void,
1599
+ paramsType: [
1600
+ /* handle */ DataType.U64,
1601
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1602
+ ],
1603
+ },
1604
+ uniffi_slim_bindings_fn_method_session_invite_and_wait_async: {
1605
+ library: "libslim_bindings",
1606
+ retType: /* handle */ DataType.U64,
1607
+ paramsType: [
1608
+ /* handle */ DataType.U64,
1609
+ /* handle */ DataType.U64
1610
+ ],
1611
+ },
1612
+ uniffi_slim_bindings_fn_method_session_invite_async: {
1613
+ library: "libslim_bindings",
1614
+ retType: /* handle */ DataType.U64,
1615
+ paramsType: [
1616
+ /* handle */ DataType.U64,
1617
+ /* handle */ DataType.U64
1618
+ ],
1619
+ },
1620
+ uniffi_slim_bindings_fn_method_session_is_initiator: {
1621
+ library: "libslim_bindings",
1622
+ retType: /* i8 */ DataType.U8,
1623
+ paramsType: [
1624
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1625
+ ],
1626
+ },
1627
+ uniffi_slim_bindings_fn_method_session_metadata: {
1628
+ library: "libslim_bindings",
1629
+ retType: DataType_UniffiRustBufferStruct,
1630
+ paramsType: [
1631
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1632
+ ],
1633
+ },
1634
+ uniffi_slim_bindings_fn_method_session_participants_list: {
1635
+ library: "libslim_bindings",
1636
+ retType: DataType_UniffiRustBufferStruct,
1637
+ paramsType: [
1638
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1639
+ ],
1640
+ },
1641
+ uniffi_slim_bindings_fn_method_session_participants_list_async: {
1642
+ library: "libslim_bindings",
1643
+ retType: /* handle */ DataType.U64,
1644
+ paramsType: [
1645
+ /* handle */ DataType.U64
1646
+ ],
1647
+ },
1648
+ uniffi_slim_bindings_fn_method_session_publish: {
1649
+ library: "libslim_bindings",
1650
+ retType: /* handle */ DataType.U64,
1651
+ paramsType: [
1652
+ /* handle */ DataType.U64,
1653
+ DataType_UniffiRustBufferStruct,
1654
+ DataType_UniffiRustBufferStruct,
1655
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
1656
+ ],
1657
+ },
1658
+ uniffi_slim_bindings_fn_method_session_publish_and_wait: {
1659
+ library: "libslim_bindings",
1660
+ retType: DataType.Void,
1661
+ paramsType: [
1662
+ /* handle */ DataType.U64,
1663
+ DataType_UniffiRustBufferStruct,
1664
+ DataType_UniffiRustBufferStruct,
1665
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
1666
+ ],
1667
+ },
1668
+ uniffi_slim_bindings_fn_method_session_publish_and_wait_async: {
1669
+ library: "libslim_bindings",
1670
+ retType: /* handle */ DataType.U64,
1671
+ paramsType: [
1672
+ /* handle */ DataType.U64,
1673
+ DataType_UniffiRustBufferStruct,
1674
+ DataType_UniffiRustBufferStruct,
1675
+ DataType_UniffiRustBufferStruct
1676
+ ],
1677
+ },
1678
+ uniffi_slim_bindings_fn_method_session_publish_async: {
1679
+ library: "libslim_bindings",
1680
+ retType: /* handle */ DataType.U64,
1681
+ paramsType: [
1682
+ /* handle */ DataType.U64,
1683
+ DataType_UniffiRustBufferStruct,
1684
+ DataType_UniffiRustBufferStruct,
1685
+ DataType_UniffiRustBufferStruct
1686
+ ],
1687
+ },
1688
+ uniffi_slim_bindings_fn_method_session_publish_to: {
1689
+ library: "libslim_bindings",
1690
+ retType: /* handle */ DataType.U64,
1691
+ paramsType: [
1692
+ /* handle */ DataType.U64,
1693
+ DataType_UniffiRustBufferStruct,
1694
+ DataType_UniffiRustBufferStruct,
1695
+ DataType_UniffiRustBufferStruct,
1696
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
1697
+ ],
1698
+ },
1699
+ uniffi_slim_bindings_fn_method_session_publish_to_and_wait: {
1700
+ library: "libslim_bindings",
1701
+ retType: DataType.Void,
1702
+ paramsType: [
1703
+ /* handle */ DataType.U64,
1704
+ DataType_UniffiRustBufferStruct,
1705
+ DataType_UniffiRustBufferStruct,
1706
+ DataType_UniffiRustBufferStruct,
1707
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
1708
+ ],
1709
+ },
1710
+ uniffi_slim_bindings_fn_method_session_publish_to_and_wait_async: {
1711
+ library: "libslim_bindings",
1712
+ retType: /* handle */ DataType.U64,
1713
+ paramsType: [
1714
+ /* handle */ DataType.U64,
1715
+ DataType_UniffiRustBufferStruct,
1716
+ DataType_UniffiRustBufferStruct,
1717
+ DataType_UniffiRustBufferStruct,
1718
+ DataType_UniffiRustBufferStruct
1719
+ ],
1720
+ },
1721
+ uniffi_slim_bindings_fn_method_session_publish_to_async: {
1722
+ library: "libslim_bindings",
1723
+ retType: /* handle */ DataType.U64,
1724
+ paramsType: [
1725
+ /* handle */ DataType.U64,
1726
+ DataType_UniffiRustBufferStruct,
1727
+ DataType_UniffiRustBufferStruct,
1728
+ DataType_UniffiRustBufferStruct,
1729
+ DataType_UniffiRustBufferStruct
1730
+ ],
1731
+ },
1732
+ uniffi_slim_bindings_fn_method_session_publish_with_params: {
1733
+ library: "libslim_bindings",
1734
+ retType: DataType.Void,
1735
+ paramsType: [
1736
+ /* handle */ DataType.U64,
1737
+ /* handle */ DataType.U64,
1738
+ /* u32 */ DataType.U64,
1739
+ DataType_UniffiRustBufferStruct,
1740
+ DataType_UniffiRustBufferStruct,
1741
+ DataType_UniffiRustBufferStruct,
1742
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
1743
+ ],
1744
+ },
1745
+ uniffi_slim_bindings_fn_method_session_publish_with_params_async: {
1746
+ library: "libslim_bindings",
1747
+ retType: /* handle */ DataType.U64,
1748
+ paramsType: [
1749
+ /* handle */ DataType.U64,
1750
+ /* handle */ DataType.U64,
1751
+ /* u32 */ DataType.U64,
1752
+ DataType_UniffiRustBufferStruct,
1753
+ DataType_UniffiRustBufferStruct,
1754
+ DataType_UniffiRustBufferStruct,
1755
+ DataType_UniffiRustBufferStruct
1756
+ ],
1757
+ },
1758
+ uniffi_slim_bindings_fn_method_session_remove: {
1759
+ library: "libslim_bindings",
1760
+ retType: /* handle */ DataType.U64,
1761
+ paramsType: [
1762
+ /* handle */ DataType.U64,
1763
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1764
+ ],
1765
+ },
1766
+ uniffi_slim_bindings_fn_method_session_remove_and_wait: {
1767
+ library: "libslim_bindings",
1768
+ retType: DataType.Void,
1769
+ paramsType: [
1770
+ /* handle */ DataType.U64,
1771
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1772
+ ],
1773
+ },
1774
+ uniffi_slim_bindings_fn_method_session_remove_and_wait_async: {
1775
+ library: "libslim_bindings",
1776
+ retType: /* handle */ DataType.U64,
1777
+ paramsType: [
1778
+ /* handle */ DataType.U64,
1779
+ /* handle */ DataType.U64
1780
+ ],
1781
+ },
1782
+ uniffi_slim_bindings_fn_method_session_remove_async: {
1783
+ library: "libslim_bindings",
1784
+ retType: /* handle */ DataType.U64,
1785
+ paramsType: [
1786
+ /* handle */ DataType.U64,
1787
+ /* handle */ DataType.U64
1788
+ ],
1789
+ },
1790
+ uniffi_slim_bindings_fn_method_session_session_id: {
1791
+ library: "libslim_bindings",
1792
+ retType: /* u32 */ DataType.U64,
1793
+ paramsType: [
1794
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1795
+ ],
1796
+ },
1797
+ uniffi_slim_bindings_fn_method_session_session_type: {
1798
+ library: "libslim_bindings",
1799
+ retType: DataType_UniffiRustBufferStruct,
1800
+ paramsType: [
1801
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1802
+ ],
1803
+ },
1804
+ uniffi_slim_bindings_fn_method_session_source: {
1805
+ library: "libslim_bindings",
1806
+ retType: /* handle */ DataType.U64,
1807
+ paramsType: [
1808
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1809
+ ],
1810
+ },
1811
+ uniffi_slim_bindings_fn_clone_streamstreamhandler: {
1812
+ library: "libslim_bindings",
1813
+ retType: /* handle */ DataType.U64,
1814
+ paramsType: [
1815
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1816
+ ],
1817
+ },
1818
+ uniffi_slim_bindings_fn_free_streamstreamhandler: {
1819
+ library: "libslim_bindings",
1820
+ retType: DataType.Void,
1821
+ paramsType: [
1822
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1823
+ ],
1824
+ },
1825
+ uniffi_slim_bindings_fn_init_callback_vtable_streamstreamhandler: {
1826
+ library: "libslim_bindings",
1827
+ retType: DataType.Void,
1828
+ paramsType: [
1829
+ /* Reference to UniffiVTableCallbackInterfaceStreamStreamHandler */ DataType.External
1830
+ ],
1831
+ },
1832
+ uniffi_slim_bindings_fn_method_streamstreamhandler_handle: {
1833
+ library: "libslim_bindings",
1834
+ retType: /* handle */ DataType.U64,
1835
+ paramsType: [
1836
+ /* handle */ DataType.U64,
1837
+ /* handle */ DataType.U64,
1838
+ /* handle */ DataType.U64,
1839
+ /* handle */ DataType.U64
1840
+ ],
1841
+ },
1842
+ uniffi_slim_bindings_fn_clone_streamunaryhandler: {
1843
+ library: "libslim_bindings",
1844
+ retType: /* handle */ DataType.U64,
1845
+ paramsType: [
1846
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1847
+ ],
1848
+ },
1849
+ uniffi_slim_bindings_fn_free_streamunaryhandler: {
1850
+ library: "libslim_bindings",
1851
+ retType: DataType.Void,
1852
+ paramsType: [
1853
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1854
+ ],
1855
+ },
1856
+ uniffi_slim_bindings_fn_init_callback_vtable_streamunaryhandler: {
1857
+ library: "libslim_bindings",
1858
+ retType: DataType.Void,
1859
+ paramsType: [
1860
+ /* Reference to UniffiVTableCallbackInterfaceStreamUnaryHandler */ DataType.External
1861
+ ],
1862
+ },
1863
+ uniffi_slim_bindings_fn_method_streamunaryhandler_handle: {
1864
+ library: "libslim_bindings",
1865
+ retType: /* handle */ DataType.U64,
1866
+ paramsType: [
1867
+ /* handle */ DataType.U64,
1868
+ /* handle */ DataType.U64,
1869
+ /* handle */ DataType.U64
1870
+ ],
1871
+ },
1872
+ uniffi_slim_bindings_fn_clone_unarystreamhandler: {
1873
+ library: "libslim_bindings",
1874
+ retType: /* handle */ DataType.U64,
1875
+ paramsType: [
1876
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1877
+ ],
1878
+ },
1879
+ uniffi_slim_bindings_fn_free_unarystreamhandler: {
1880
+ library: "libslim_bindings",
1881
+ retType: DataType.Void,
1882
+ paramsType: [
1883
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1884
+ ],
1885
+ },
1886
+ uniffi_slim_bindings_fn_init_callback_vtable_unarystreamhandler: {
1887
+ library: "libslim_bindings",
1888
+ retType: DataType.Void,
1889
+ paramsType: [
1890
+ /* Reference to UniffiVTableCallbackInterfaceUnaryStreamHandler */ DataType.External
1891
+ ],
1892
+ },
1893
+ uniffi_slim_bindings_fn_method_unarystreamhandler_handle: {
1894
+ library: "libslim_bindings",
1895
+ retType: /* handle */ DataType.U64,
1896
+ paramsType: [
1897
+ /* handle */ DataType.U64,
1898
+ DataType_UniffiRustBufferStruct,
1899
+ /* handle */ DataType.U64,
1900
+ /* handle */ DataType.U64
1901
+ ],
1902
+ },
1903
+ uniffi_slim_bindings_fn_clone_unaryunaryhandler: {
1904
+ library: "libslim_bindings",
1905
+ retType: /* handle */ DataType.U64,
1906
+ paramsType: [
1907
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1908
+ ],
1909
+ },
1910
+ uniffi_slim_bindings_fn_free_unaryunaryhandler: {
1911
+ library: "libslim_bindings",
1912
+ retType: DataType.Void,
1913
+ paramsType: [
1914
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
1915
+ ],
1916
+ },
1917
+ uniffi_slim_bindings_fn_init_callback_vtable_unaryunaryhandler: {
1918
+ library: "libslim_bindings",
1919
+ retType: DataType.Void,
1920
+ paramsType: [
1921
+ /* Reference to UniffiVTableCallbackInterfaceUnaryUnaryHandler */ DataType.External
1922
+ ],
1923
+ },
1924
+ uniffi_slim_bindings_fn_method_unaryunaryhandler_handle: {
1925
+ library: "libslim_bindings",
1926
+ retType: /* handle */ DataType.U64,
1927
+ paramsType: [
1928
+ /* handle */ DataType.U64,
1929
+ DataType_UniffiRustBufferStruct,
1930
+ /* handle */ DataType.U64
1931
+ ],
1932
+ },
1933
+ uniffi_slim_bindings_fn_func_create_service: {
1934
+ library: "libslim_bindings",
1935
+ retType: /* handle */ DataType.U64,
1936
+ paramsType: [
1937
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
1938
+ ],
1939
+ },
1940
+ uniffi_slim_bindings_fn_func_create_service_with_config: {
1941
+ library: "libslim_bindings",
1942
+ retType: /* handle */ DataType.U64,
1943
+ paramsType: [
1944
+ DataType_UniffiRustBufferStruct,
1945
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
1946
+ ],
1947
+ },
1948
+ uniffi_slim_bindings_fn_func_get_build_info: {
1949
+ library: "libslim_bindings",
1950
+ retType: DataType_UniffiRustBufferStruct,
1951
+ paramsType: [/* RustCallStatus */ DataType.External
1952
+ ],
1953
+ },
1954
+ uniffi_slim_bindings_fn_func_get_global_service: {
1955
+ library: "libslim_bindings",
1956
+ retType: /* handle */ DataType.U64,
1957
+ paramsType: [/* RustCallStatus */ DataType.External
1958
+ ],
1959
+ },
1960
+ uniffi_slim_bindings_fn_func_get_services: {
1961
+ library: "libslim_bindings",
1962
+ retType: DataType_UniffiRustBufferStruct,
1963
+ paramsType: [/* RustCallStatus */ DataType.External
1964
+ ],
1965
+ },
1966
+ uniffi_slim_bindings_fn_func_get_version: {
1967
+ library: "libslim_bindings",
1968
+ retType: DataType_UniffiRustBufferStruct,
1969
+ paramsType: [/* RustCallStatus */ DataType.External
1970
+ ],
1971
+ },
1972
+ uniffi_slim_bindings_fn_func_initialize_from_config: {
1973
+ library: "libslim_bindings",
1974
+ retType: DataType.Void,
1975
+ paramsType: [
1976
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
1977
+ ],
1978
+ },
1979
+ uniffi_slim_bindings_fn_func_initialize_with_configs: {
1980
+ library: "libslim_bindings",
1981
+ retType: DataType.Void,
1982
+ paramsType: [
1983
+ DataType_UniffiRustBufferStruct,
1984
+ DataType_UniffiRustBufferStruct,
1985
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
1986
+ ],
1987
+ },
1988
+ uniffi_slim_bindings_fn_func_initialize_with_defaults: {
1989
+ library: "libslim_bindings",
1990
+ retType: DataType.Void,
1991
+ paramsType: [/* RustCallStatus */ DataType.External
1992
+ ],
1993
+ },
1994
+ uniffi_slim_bindings_fn_func_is_initialized: {
1995
+ library: "libslim_bindings",
1996
+ retType: /* i8 */ DataType.U8,
1997
+ paramsType: [/* RustCallStatus */ DataType.External
1998
+ ],
1999
+ },
2000
+ uniffi_slim_bindings_fn_func_new_dataplane_config: {
2001
+ library: "libslim_bindings",
2002
+ retType: DataType_UniffiRustBufferStruct,
2003
+ paramsType: [/* RustCallStatus */ DataType.External
2004
+ ],
2005
+ },
2006
+ uniffi_slim_bindings_fn_func_new_insecure_client_config: {
2007
+ library: "libslim_bindings",
2008
+ retType: DataType_UniffiRustBufferStruct,
2009
+ paramsType: [
2010
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
2011
+ ],
2012
+ },
2013
+ uniffi_slim_bindings_fn_func_new_insecure_server_config: {
2014
+ library: "libslim_bindings",
2015
+ retType: DataType_UniffiRustBufferStruct,
2016
+ paramsType: [
2017
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
2018
+ ],
2019
+ },
2020
+ uniffi_slim_bindings_fn_func_new_runtime_config: {
2021
+ library: "libslim_bindings",
2022
+ retType: DataType_UniffiRustBufferStruct,
2023
+ paramsType: [/* RustCallStatus */ DataType.External
2024
+ ],
2025
+ },
2026
+ uniffi_slim_bindings_fn_func_new_runtime_config_with: {
2027
+ library: "libslim_bindings",
2028
+ retType: DataType_UniffiRustBufferStruct,
2029
+ paramsType: [
2030
+ DataType.U64,
2031
+ DataType_UniffiRustBufferStruct,
2032
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
2033
+ ],
2034
+ },
2035
+ uniffi_slim_bindings_fn_func_new_server_config: {
2036
+ library: "libslim_bindings",
2037
+ retType: DataType_UniffiRustBufferStruct,
2038
+ paramsType: [
2039
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
2040
+ ],
2041
+ },
2042
+ uniffi_slim_bindings_fn_func_new_service_config: {
2043
+ library: "libslim_bindings",
2044
+ retType: DataType_UniffiRustBufferStruct,
2045
+ paramsType: [/* RustCallStatus */ DataType.External
2046
+ ],
2047
+ },
2048
+ uniffi_slim_bindings_fn_func_new_service_config_with: {
2049
+ library: "libslim_bindings",
2050
+ retType: DataType_UniffiRustBufferStruct,
2051
+ paramsType: [
2052
+ DataType_UniffiRustBufferStruct,
2053
+ DataType_UniffiRustBufferStruct,
2054
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
2055
+ ],
2056
+ },
2057
+ uniffi_slim_bindings_fn_func_new_service_configuration: {
2058
+ library: "libslim_bindings",
2059
+ retType: DataType_UniffiRustBufferStruct,
2060
+ paramsType: [/* RustCallStatus */ DataType.External
2061
+ ],
2062
+ },
2063
+ uniffi_slim_bindings_fn_func_new_tracing_config: {
2064
+ library: "libslim_bindings",
2065
+ retType: DataType_UniffiRustBufferStruct,
2066
+ paramsType: [/* RustCallStatus */ DataType.External
2067
+ ],
2068
+ },
2069
+ uniffi_slim_bindings_fn_func_new_tracing_config_with: {
2070
+ library: "libslim_bindings",
2071
+ retType: DataType_UniffiRustBufferStruct,
2072
+ paramsType: [
2073
+ DataType_UniffiRustBufferStruct,
2074
+ /* i8 */ DataType.U8,
2075
+ /* i8 */ DataType.U8,
2076
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
2077
+ ],
2078
+ },
2079
+ uniffi_slim_bindings_fn_func_shutdown_blocking: {
2080
+ library: "libslim_bindings",
2081
+ retType: DataType.Void,
2082
+ paramsType: [/* RustCallStatus */ DataType.External
2083
+ ],
2084
+ },
2085
+ ffi_slim_bindings_rustbuffer_alloc: {
2086
+ library: "libslim_bindings",
2087
+ retType: DataType_UniffiRustBufferStruct,
2088
+ paramsType: [
2089
+ DataType.U64, /* RustCallStatus */ DataType.External
2090
+ ],
2091
+ },
2092
+ ffi_slim_bindings_rustbuffer_from_bytes: {
2093
+ library: "libslim_bindings",
2094
+ retType: DataType_UniffiRustBufferStruct,
2095
+ paramsType: [
2096
+ DataType_UniffiForeignBytes, /* RustCallStatus */ DataType.External
2097
+ ],
2098
+ },
2099
+ ffi_slim_bindings_rustbuffer_free: {
2100
+ library: "libslim_bindings",
2101
+ retType: DataType.Void,
2102
+ paramsType: [
2103
+ DataType_UniffiRustBufferStruct, /* RustCallStatus */ DataType.External
2104
+ ],
2105
+ },
2106
+ ffi_slim_bindings_rustbuffer_reserve: {
2107
+ library: "libslim_bindings",
2108
+ retType: DataType_UniffiRustBufferStruct,
2109
+ paramsType: [
2110
+ DataType_UniffiRustBufferStruct,
2111
+ DataType.U64, /* RustCallStatus */ DataType.External
2112
+ ],
2113
+ },
2114
+ ffi_slim_bindings_rust_future_poll_u8: {
2115
+ library: "libslim_bindings",
2116
+ retType: DataType.Void,
2117
+ paramsType: [
2118
+ /* handle */ DataType.U64,
2119
+ /* callback */ DataType.External,
2120
+ /* handle */ DataType.U64
2121
+ ],
2122
+ },
2123
+ ffi_slim_bindings_rust_future_cancel_u8: {
2124
+ library: "libslim_bindings",
2125
+ retType: DataType.Void,
2126
+ paramsType: [
2127
+ /* handle */ DataType.U64
2128
+ ],
2129
+ },
2130
+ ffi_slim_bindings_rust_future_free_u8: {
2131
+ library: "libslim_bindings",
2132
+ retType: DataType.Void,
2133
+ paramsType: [
2134
+ /* handle */ DataType.U64
2135
+ ],
2136
+ },
2137
+ ffi_slim_bindings_rust_future_complete_u8: {
2138
+ library: "libslim_bindings",
2139
+ retType: DataType.U8,
2140
+ paramsType: [
2141
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
2142
+ ],
2143
+ },
2144
+ ffi_slim_bindings_rust_future_poll_i8: {
2145
+ library: "libslim_bindings",
2146
+ retType: DataType.Void,
2147
+ paramsType: [
2148
+ /* handle */ DataType.U64,
2149
+ /* callback */ DataType.External,
2150
+ /* handle */ DataType.U64
2151
+ ],
2152
+ },
2153
+ ffi_slim_bindings_rust_future_cancel_i8: {
2154
+ library: "libslim_bindings",
2155
+ retType: DataType.Void,
2156
+ paramsType: [
2157
+ /* handle */ DataType.U64
2158
+ ],
2159
+ },
2160
+ ffi_slim_bindings_rust_future_free_i8: {
2161
+ library: "libslim_bindings",
2162
+ retType: DataType.Void,
2163
+ paramsType: [
2164
+ /* handle */ DataType.U64
2165
+ ],
2166
+ },
2167
+ ffi_slim_bindings_rust_future_complete_i8: {
2168
+ library: "libslim_bindings",
2169
+ retType: /* i8 */ DataType.U8,
2170
+ paramsType: [
2171
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
2172
+ ],
2173
+ },
2174
+ ffi_slim_bindings_rust_future_poll_u16: {
2175
+ library: "libslim_bindings",
2176
+ retType: DataType.Void,
2177
+ paramsType: [
2178
+ /* handle */ DataType.U64,
2179
+ /* callback */ DataType.External,
2180
+ /* handle */ DataType.U64
2181
+ ],
2182
+ },
2183
+ ffi_slim_bindings_rust_future_cancel_u16: {
2184
+ library: "libslim_bindings",
2185
+ retType: DataType.Void,
2186
+ paramsType: [
2187
+ /* handle */ DataType.U64
2188
+ ],
2189
+ },
2190
+ ffi_slim_bindings_rust_future_free_u16: {
2191
+ library: "libslim_bindings",
2192
+ retType: DataType.Void,
2193
+ paramsType: [
2194
+ /* handle */ DataType.U64
2195
+ ],
2196
+ },
2197
+ ffi_slim_bindings_rust_future_complete_u16: {
2198
+ library: "libslim_bindings",
2199
+ retType: /* u16 */ DataType.U64,
2200
+ paramsType: [
2201
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
2202
+ ],
2203
+ },
2204
+ ffi_slim_bindings_rust_future_poll_i16: {
2205
+ library: "libslim_bindings",
2206
+ retType: DataType.Void,
2207
+ paramsType: [
2208
+ /* handle */ DataType.U64,
2209
+ /* callback */ DataType.External,
2210
+ /* handle */ DataType.U64
2211
+ ],
2212
+ },
2213
+ ffi_slim_bindings_rust_future_cancel_i16: {
2214
+ library: "libslim_bindings",
2215
+ retType: DataType.Void,
2216
+ paramsType: [
2217
+ /* handle */ DataType.U64
2218
+ ],
2219
+ },
2220
+ ffi_slim_bindings_rust_future_free_i16: {
2221
+ library: "libslim_bindings",
2222
+ retType: DataType.Void,
2223
+ paramsType: [
2224
+ /* handle */ DataType.U64
2225
+ ],
2226
+ },
2227
+ ffi_slim_bindings_rust_future_complete_i16: {
2228
+ library: "libslim_bindings",
2229
+ retType: DataType.I16,
2230
+ paramsType: [
2231
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
2232
+ ],
2233
+ },
2234
+ ffi_slim_bindings_rust_future_poll_u32: {
2235
+ library: "libslim_bindings",
2236
+ retType: DataType.Void,
2237
+ paramsType: [
2238
+ /* handle */ DataType.U64,
2239
+ /* callback */ DataType.External,
2240
+ /* handle */ DataType.U64
2241
+ ],
2242
+ },
2243
+ ffi_slim_bindings_rust_future_cancel_u32: {
2244
+ library: "libslim_bindings",
2245
+ retType: DataType.Void,
2246
+ paramsType: [
2247
+ /* handle */ DataType.U64
2248
+ ],
2249
+ },
2250
+ ffi_slim_bindings_rust_future_free_u32: {
2251
+ library: "libslim_bindings",
2252
+ retType: DataType.Void,
2253
+ paramsType: [
2254
+ /* handle */ DataType.U64
2255
+ ],
2256
+ },
2257
+ ffi_slim_bindings_rust_future_complete_u32: {
2258
+ library: "libslim_bindings",
2259
+ retType: /* u32 */ DataType.U64,
2260
+ paramsType: [
2261
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
2262
+ ],
2263
+ },
2264
+ ffi_slim_bindings_rust_future_poll_i32: {
2265
+ library: "libslim_bindings",
2266
+ retType: DataType.Void,
2267
+ paramsType: [
2268
+ /* handle */ DataType.U64,
2269
+ /* callback */ DataType.External,
2270
+ /* handle */ DataType.U64
2271
+ ],
2272
+ },
2273
+ ffi_slim_bindings_rust_future_cancel_i32: {
2274
+ library: "libslim_bindings",
2275
+ retType: DataType.Void,
2276
+ paramsType: [
2277
+ /* handle */ DataType.U64
2278
+ ],
2279
+ },
2280
+ ffi_slim_bindings_rust_future_free_i32: {
2281
+ library: "libslim_bindings",
2282
+ retType: DataType.Void,
2283
+ paramsType: [
2284
+ /* handle */ DataType.U64
2285
+ ],
2286
+ },
2287
+ ffi_slim_bindings_rust_future_complete_i32: {
2288
+ library: "libslim_bindings",
2289
+ retType: DataType.I32,
2290
+ paramsType: [
2291
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
2292
+ ],
2293
+ },
2294
+ ffi_slim_bindings_rust_future_poll_u64: {
2295
+ library: "libslim_bindings",
2296
+ retType: DataType.Void,
2297
+ paramsType: [
2298
+ /* handle */ DataType.U64,
2299
+ /* callback */ DataType.External,
2300
+ /* handle */ DataType.U64
2301
+ ],
2302
+ },
2303
+ ffi_slim_bindings_rust_future_cancel_u64: {
2304
+ library: "libslim_bindings",
2305
+ retType: DataType.Void,
2306
+ paramsType: [
2307
+ /* handle */ DataType.U64
2308
+ ],
2309
+ },
2310
+ ffi_slim_bindings_rust_future_free_u64: {
2311
+ library: "libslim_bindings",
2312
+ retType: DataType.Void,
2313
+ paramsType: [
2314
+ /* handle */ DataType.U64
2315
+ ],
2316
+ },
2317
+ ffi_slim_bindings_rust_future_complete_u64: {
2318
+ library: "libslim_bindings",
2319
+ retType: DataType.U64,
2320
+ paramsType: [
2321
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
2322
+ ],
2323
+ },
2324
+ ffi_slim_bindings_rust_future_poll_i64: {
2325
+ library: "libslim_bindings",
2326
+ retType: DataType.Void,
2327
+ paramsType: [
2328
+ /* handle */ DataType.U64,
2329
+ /* callback */ DataType.External,
2330
+ /* handle */ DataType.U64
2331
+ ],
2332
+ },
2333
+ ffi_slim_bindings_rust_future_cancel_i64: {
2334
+ library: "libslim_bindings",
2335
+ retType: DataType.Void,
2336
+ paramsType: [
2337
+ /* handle */ DataType.U64
2338
+ ],
2339
+ },
2340
+ ffi_slim_bindings_rust_future_free_i64: {
2341
+ library: "libslim_bindings",
2342
+ retType: DataType.Void,
2343
+ paramsType: [
2344
+ /* handle */ DataType.U64
2345
+ ],
2346
+ },
2347
+ ffi_slim_bindings_rust_future_complete_i64: {
2348
+ library: "libslim_bindings",
2349
+ retType: DataType.I64,
2350
+ paramsType: [
2351
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
2352
+ ],
2353
+ },
2354
+ ffi_slim_bindings_rust_future_poll_f32: {
2355
+ library: "libslim_bindings",
2356
+ retType: DataType.Void,
2357
+ paramsType: [
2358
+ /* handle */ DataType.U64,
2359
+ /* callback */ DataType.External,
2360
+ /* handle */ DataType.U64
2361
+ ],
2362
+ },
2363
+ ffi_slim_bindings_rust_future_cancel_f32: {
2364
+ library: "libslim_bindings",
2365
+ retType: DataType.Void,
2366
+ paramsType: [
2367
+ /* handle */ DataType.U64
2368
+ ],
2369
+ },
2370
+ ffi_slim_bindings_rust_future_free_f32: {
2371
+ library: "libslim_bindings",
2372
+ retType: DataType.Void,
2373
+ paramsType: [
2374
+ /* handle */ DataType.U64
2375
+ ],
2376
+ },
2377
+ ffi_slim_bindings_rust_future_complete_f32: {
2378
+ library: "libslim_bindings",
2379
+ retType: /* f32 */ DataType.Float,
2380
+ paramsType: [
2381
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
2382
+ ],
2383
+ },
2384
+ ffi_slim_bindings_rust_future_poll_f64: {
2385
+ library: "libslim_bindings",
2386
+ retType: DataType.Void,
2387
+ paramsType: [
2388
+ /* handle */ DataType.U64,
2389
+ /* callback */ DataType.External,
2390
+ /* handle */ DataType.U64
2391
+ ],
2392
+ },
2393
+ ffi_slim_bindings_rust_future_cancel_f64: {
2394
+ library: "libslim_bindings",
2395
+ retType: DataType.Void,
2396
+ paramsType: [
2397
+ /* handle */ DataType.U64
2398
+ ],
2399
+ },
2400
+ ffi_slim_bindings_rust_future_free_f64: {
2401
+ library: "libslim_bindings",
2402
+ retType: DataType.Void,
2403
+ paramsType: [
2404
+ /* handle */ DataType.U64
2405
+ ],
2406
+ },
2407
+ ffi_slim_bindings_rust_future_complete_f64: {
2408
+ library: "libslim_bindings",
2409
+ retType: /* f64 */ DataType.Double,
2410
+ paramsType: [
2411
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
2412
+ ],
2413
+ },
2414
+ ffi_slim_bindings_rust_future_poll_rust_buffer: {
2415
+ library: "libslim_bindings",
2416
+ retType: DataType.Void,
2417
+ paramsType: [
2418
+ /* handle */ DataType.U64,
2419
+ /* callback */ DataType.External,
2420
+ /* handle */ DataType.U64
2421
+ ],
2422
+ },
2423
+ ffi_slim_bindings_rust_future_cancel_rust_buffer: {
2424
+ library: "libslim_bindings",
2425
+ retType: DataType.Void,
2426
+ paramsType: [
2427
+ /* handle */ DataType.U64
2428
+ ],
2429
+ },
2430
+ ffi_slim_bindings_rust_future_free_rust_buffer: {
2431
+ library: "libslim_bindings",
2432
+ retType: DataType.Void,
2433
+ paramsType: [
2434
+ /* handle */ DataType.U64
2435
+ ],
2436
+ },
2437
+ ffi_slim_bindings_rust_future_complete_rust_buffer: {
2438
+ library: "libslim_bindings",
2439
+ retType: DataType_UniffiRustBufferStruct,
2440
+ paramsType: [
2441
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
2442
+ ],
2443
+ },
2444
+ ffi_slim_bindings_rust_future_poll_void: {
2445
+ library: "libslim_bindings",
2446
+ retType: DataType.Void,
2447
+ paramsType: [
2448
+ /* handle */ DataType.U64,
2449
+ /* callback */ DataType.External,
2450
+ /* handle */ DataType.U64
2451
+ ],
2452
+ },
2453
+ ffi_slim_bindings_rust_future_cancel_void: {
2454
+ library: "libslim_bindings",
2455
+ retType: DataType.Void,
2456
+ paramsType: [
2457
+ /* handle */ DataType.U64
2458
+ ],
2459
+ },
2460
+ ffi_slim_bindings_rust_future_free_void: {
2461
+ library: "libslim_bindings",
2462
+ retType: DataType.Void,
2463
+ paramsType: [
2464
+ /* handle */ DataType.U64
2465
+ ],
2466
+ },
2467
+ ffi_slim_bindings_rust_future_complete_void: {
2468
+ library: "libslim_bindings",
2469
+ retType: DataType.Void,
2470
+ paramsType: [
2471
+ /* handle */ DataType.U64, /* RustCallStatus */ DataType.External
2472
+ ],
2473
+ },
2474
+ uniffi_slim_bindings_checksum_func_create_service: {
2475
+ library: "libslim_bindings",
2476
+ retType: /* u16 */ DataType.U64,
2477
+ paramsType: [],
2478
+ },
2479
+ uniffi_slim_bindings_checksum_func_create_service_with_config: {
2480
+ library: "libslim_bindings",
2481
+ retType: /* u16 */ DataType.U64,
2482
+ paramsType: [],
2483
+ },
2484
+ uniffi_slim_bindings_checksum_func_get_build_info: {
2485
+ library: "libslim_bindings",
2486
+ retType: /* u16 */ DataType.U64,
2487
+ paramsType: [],
2488
+ },
2489
+ uniffi_slim_bindings_checksum_func_get_global_service: {
2490
+ library: "libslim_bindings",
2491
+ retType: /* u16 */ DataType.U64,
2492
+ paramsType: [],
2493
+ },
2494
+ uniffi_slim_bindings_checksum_func_get_services: {
2495
+ library: "libslim_bindings",
2496
+ retType: /* u16 */ DataType.U64,
2497
+ paramsType: [],
2498
+ },
2499
+ uniffi_slim_bindings_checksum_func_get_version: {
2500
+ library: "libslim_bindings",
2501
+ retType: /* u16 */ DataType.U64,
2502
+ paramsType: [],
2503
+ },
2504
+ uniffi_slim_bindings_checksum_func_initialize_from_config: {
2505
+ library: "libslim_bindings",
2506
+ retType: /* u16 */ DataType.U64,
2507
+ paramsType: [],
2508
+ },
2509
+ uniffi_slim_bindings_checksum_func_initialize_with_configs: {
2510
+ library: "libslim_bindings",
2511
+ retType: /* u16 */ DataType.U64,
2512
+ paramsType: [],
2513
+ },
2514
+ uniffi_slim_bindings_checksum_func_initialize_with_defaults: {
2515
+ library: "libslim_bindings",
2516
+ retType: /* u16 */ DataType.U64,
2517
+ paramsType: [],
2518
+ },
2519
+ uniffi_slim_bindings_checksum_func_is_initialized: {
2520
+ library: "libslim_bindings",
2521
+ retType: /* u16 */ DataType.U64,
2522
+ paramsType: [],
2523
+ },
2524
+ uniffi_slim_bindings_checksum_func_new_dataplane_config: {
2525
+ library: "libslim_bindings",
2526
+ retType: /* u16 */ DataType.U64,
2527
+ paramsType: [],
2528
+ },
2529
+ uniffi_slim_bindings_checksum_func_new_insecure_client_config: {
2530
+ library: "libslim_bindings",
2531
+ retType: /* u16 */ DataType.U64,
2532
+ paramsType: [],
2533
+ },
2534
+ uniffi_slim_bindings_checksum_func_new_insecure_server_config: {
2535
+ library: "libslim_bindings",
2536
+ retType: /* u16 */ DataType.U64,
2537
+ paramsType: [],
2538
+ },
2539
+ uniffi_slim_bindings_checksum_func_new_runtime_config: {
2540
+ library: "libslim_bindings",
2541
+ retType: /* u16 */ DataType.U64,
2542
+ paramsType: [],
2543
+ },
2544
+ uniffi_slim_bindings_checksum_func_new_runtime_config_with: {
2545
+ library: "libslim_bindings",
2546
+ retType: /* u16 */ DataType.U64,
2547
+ paramsType: [],
2548
+ },
2549
+ uniffi_slim_bindings_checksum_func_new_server_config: {
2550
+ library: "libslim_bindings",
2551
+ retType: /* u16 */ DataType.U64,
2552
+ paramsType: [],
2553
+ },
2554
+ uniffi_slim_bindings_checksum_func_new_service_config: {
2555
+ library: "libslim_bindings",
2556
+ retType: /* u16 */ DataType.U64,
2557
+ paramsType: [],
2558
+ },
2559
+ uniffi_slim_bindings_checksum_func_new_service_config_with: {
2560
+ library: "libslim_bindings",
2561
+ retType: /* u16 */ DataType.U64,
2562
+ paramsType: [],
2563
+ },
2564
+ uniffi_slim_bindings_checksum_func_new_service_configuration: {
2565
+ library: "libslim_bindings",
2566
+ retType: /* u16 */ DataType.U64,
2567
+ paramsType: [],
2568
+ },
2569
+ uniffi_slim_bindings_checksum_func_new_tracing_config: {
2570
+ library: "libslim_bindings",
2571
+ retType: /* u16 */ DataType.U64,
2572
+ paramsType: [],
2573
+ },
2574
+ uniffi_slim_bindings_checksum_func_new_tracing_config_with: {
2575
+ library: "libslim_bindings",
2576
+ retType: /* u16 */ DataType.U64,
2577
+ paramsType: [],
2578
+ },
2579
+ uniffi_slim_bindings_checksum_func_shutdown_blocking: {
2580
+ library: "libslim_bindings",
2581
+ retType: /* u16 */ DataType.U64,
2582
+ paramsType: [],
2583
+ },
2584
+ uniffi_slim_bindings_checksum_method_app_create_session: {
2585
+ library: "libslim_bindings",
2586
+ retType: /* u16 */ DataType.U64,
2587
+ paramsType: [],
2588
+ },
2589
+ uniffi_slim_bindings_checksum_method_app_create_session_and_wait: {
2590
+ library: "libslim_bindings",
2591
+ retType: /* u16 */ DataType.U64,
2592
+ paramsType: [],
2593
+ },
2594
+ uniffi_slim_bindings_checksum_method_app_create_session_and_wait_async: {
2595
+ library: "libslim_bindings",
2596
+ retType: /* u16 */ DataType.U64,
2597
+ paramsType: [],
2598
+ },
2599
+ uniffi_slim_bindings_checksum_method_app_create_session_async: {
2600
+ library: "libslim_bindings",
2601
+ retType: /* u16 */ DataType.U64,
2602
+ paramsType: [],
2603
+ },
2604
+ uniffi_slim_bindings_checksum_method_app_delete_session: {
2605
+ library: "libslim_bindings",
2606
+ retType: /* u16 */ DataType.U64,
2607
+ paramsType: [],
2608
+ },
2609
+ uniffi_slim_bindings_checksum_method_app_delete_session_and_wait: {
2610
+ library: "libslim_bindings",
2611
+ retType: /* u16 */ DataType.U64,
2612
+ paramsType: [],
2613
+ },
2614
+ uniffi_slim_bindings_checksum_method_app_delete_session_and_wait_async: {
2615
+ library: "libslim_bindings",
2616
+ retType: /* u16 */ DataType.U64,
2617
+ paramsType: [],
2618
+ },
2619
+ uniffi_slim_bindings_checksum_method_app_delete_session_async: {
2620
+ library: "libslim_bindings",
2621
+ retType: /* u16 */ DataType.U64,
2622
+ paramsType: [],
2623
+ },
2624
+ uniffi_slim_bindings_checksum_method_app_id: {
2625
+ library: "libslim_bindings",
2626
+ retType: /* u16 */ DataType.U64,
2627
+ paramsType: [],
2628
+ },
2629
+ uniffi_slim_bindings_checksum_method_app_listen_for_session: {
2630
+ library: "libslim_bindings",
2631
+ retType: /* u16 */ DataType.U64,
2632
+ paramsType: [],
2633
+ },
2634
+ uniffi_slim_bindings_checksum_method_app_listen_for_session_async: {
2635
+ library: "libslim_bindings",
2636
+ retType: /* u16 */ DataType.U64,
2637
+ paramsType: [],
2638
+ },
2639
+ uniffi_slim_bindings_checksum_method_app_name: {
2640
+ library: "libslim_bindings",
2641
+ retType: /* u16 */ DataType.U64,
2642
+ paramsType: [],
2643
+ },
2644
+ uniffi_slim_bindings_checksum_method_app_remove_route: {
2645
+ library: "libslim_bindings",
2646
+ retType: /* u16 */ DataType.U64,
2647
+ paramsType: [],
2648
+ },
2649
+ uniffi_slim_bindings_checksum_method_app_remove_route_async: {
2650
+ library: "libslim_bindings",
2651
+ retType: /* u16 */ DataType.U64,
2652
+ paramsType: [],
2653
+ },
2654
+ uniffi_slim_bindings_checksum_method_app_set_route: {
2655
+ library: "libslim_bindings",
2656
+ retType: /* u16 */ DataType.U64,
2657
+ paramsType: [],
2658
+ },
2659
+ uniffi_slim_bindings_checksum_method_app_set_route_async: {
2660
+ library: "libslim_bindings",
2661
+ retType: /* u16 */ DataType.U64,
2662
+ paramsType: [],
2663
+ },
2664
+ uniffi_slim_bindings_checksum_method_app_subscribe: {
2665
+ library: "libslim_bindings",
2666
+ retType: /* u16 */ DataType.U64,
2667
+ paramsType: [],
2668
+ },
2669
+ uniffi_slim_bindings_checksum_method_app_subscribe_async: {
2670
+ library: "libslim_bindings",
2671
+ retType: /* u16 */ DataType.U64,
2672
+ paramsType: [],
2673
+ },
2674
+ uniffi_slim_bindings_checksum_method_app_unsubscribe: {
2675
+ library: "libslim_bindings",
2676
+ retType: /* u16 */ DataType.U64,
2677
+ paramsType: [],
2678
+ },
2679
+ uniffi_slim_bindings_checksum_method_app_unsubscribe_async: {
2680
+ library: "libslim_bindings",
2681
+ retType: /* u16 */ DataType.U64,
2682
+ paramsType: [],
2683
+ },
2684
+ uniffi_slim_bindings_checksum_method_bidistreamhandler_close_send: {
2685
+ library: "libslim_bindings",
2686
+ retType: /* u16 */ DataType.U64,
2687
+ paramsType: [],
2688
+ },
2689
+ uniffi_slim_bindings_checksum_method_bidistreamhandler_close_send_async: {
2690
+ library: "libslim_bindings",
2691
+ retType: /* u16 */ DataType.U64,
2692
+ paramsType: [],
2693
+ },
2694
+ uniffi_slim_bindings_checksum_method_bidistreamhandler_recv: {
2695
+ library: "libslim_bindings",
2696
+ retType: /* u16 */ DataType.U64,
2697
+ paramsType: [],
2698
+ },
2699
+ uniffi_slim_bindings_checksum_method_bidistreamhandler_recv_async: {
2700
+ library: "libslim_bindings",
2701
+ retType: /* u16 */ DataType.U64,
2702
+ paramsType: [],
2703
+ },
2704
+ uniffi_slim_bindings_checksum_method_bidistreamhandler_send: {
2705
+ library: "libslim_bindings",
2706
+ retType: /* u16 */ DataType.U64,
2707
+ paramsType: [],
2708
+ },
2709
+ uniffi_slim_bindings_checksum_method_bidistreamhandler_send_async: {
2710
+ library: "libslim_bindings",
2711
+ retType: /* u16 */ DataType.U64,
2712
+ paramsType: [],
2713
+ },
2714
+ uniffi_slim_bindings_checksum_method_channel_call_stream_stream: {
2715
+ library: "libslim_bindings",
2716
+ retType: /* u16 */ DataType.U64,
2717
+ paramsType: [],
2718
+ },
2719
+ uniffi_slim_bindings_checksum_method_channel_call_stream_unary: {
2720
+ library: "libslim_bindings",
2721
+ retType: /* u16 */ DataType.U64,
2722
+ paramsType: [],
2723
+ },
2724
+ uniffi_slim_bindings_checksum_method_channel_call_unary: {
2725
+ library: "libslim_bindings",
2726
+ retType: /* u16 */ DataType.U64,
2727
+ paramsType: [],
2728
+ },
2729
+ uniffi_slim_bindings_checksum_method_channel_call_unary_async: {
2730
+ library: "libslim_bindings",
2731
+ retType: /* u16 */ DataType.U64,
2732
+ paramsType: [],
2733
+ },
2734
+ uniffi_slim_bindings_checksum_method_channel_call_unary_stream: {
2735
+ library: "libslim_bindings",
2736
+ retType: /* u16 */ DataType.U64,
2737
+ paramsType: [],
2738
+ },
2739
+ uniffi_slim_bindings_checksum_method_channel_call_unary_stream_async: {
2740
+ library: "libslim_bindings",
2741
+ retType: /* u16 */ DataType.U64,
2742
+ paramsType: [],
2743
+ },
2744
+ uniffi_slim_bindings_checksum_method_completionhandle_wait: {
2745
+ library: "libslim_bindings",
2746
+ retType: /* u16 */ DataType.U64,
2747
+ paramsType: [],
2748
+ },
2749
+ uniffi_slim_bindings_checksum_method_completionhandle_wait_async: {
2750
+ library: "libslim_bindings",
2751
+ retType: /* u16 */ DataType.U64,
2752
+ paramsType: [],
2753
+ },
2754
+ uniffi_slim_bindings_checksum_method_completionhandle_wait_for: {
2755
+ library: "libslim_bindings",
2756
+ retType: /* u16 */ DataType.U64,
2757
+ paramsType: [],
2758
+ },
2759
+ uniffi_slim_bindings_checksum_method_completionhandle_wait_for_async: {
2760
+ library: "libslim_bindings",
2761
+ retType: /* u16 */ DataType.U64,
2762
+ paramsType: [],
2763
+ },
2764
+ uniffi_slim_bindings_checksum_method_context_deadline: {
2765
+ library: "libslim_bindings",
2766
+ retType: /* u16 */ DataType.U64,
2767
+ paramsType: [],
2768
+ },
2769
+ uniffi_slim_bindings_checksum_method_context_is_deadline_exceeded: {
2770
+ library: "libslim_bindings",
2771
+ retType: /* u16 */ DataType.U64,
2772
+ paramsType: [],
2773
+ },
2774
+ uniffi_slim_bindings_checksum_method_context_metadata: {
2775
+ library: "libslim_bindings",
2776
+ retType: /* u16 */ DataType.U64,
2777
+ paramsType: [],
2778
+ },
2779
+ uniffi_slim_bindings_checksum_method_context_remaining_time: {
2780
+ library: "libslim_bindings",
2781
+ retType: /* u16 */ DataType.U64,
2782
+ paramsType: [],
2783
+ },
2784
+ uniffi_slim_bindings_checksum_method_context_session_id: {
2785
+ library: "libslim_bindings",
2786
+ retType: /* u16 */ DataType.U64,
2787
+ paramsType: [],
2788
+ },
2789
+ uniffi_slim_bindings_checksum_method_name_components: {
2790
+ library: "libslim_bindings",
2791
+ retType: /* u16 */ DataType.U64,
2792
+ paramsType: [],
2793
+ },
2794
+ uniffi_slim_bindings_checksum_method_name_id: {
2795
+ library: "libslim_bindings",
2796
+ retType: /* u16 */ DataType.U64,
2797
+ paramsType: [],
2798
+ },
2799
+ uniffi_slim_bindings_checksum_method_requeststream_next: {
2800
+ library: "libslim_bindings",
2801
+ retType: /* u16 */ DataType.U64,
2802
+ paramsType: [],
2803
+ },
2804
+ uniffi_slim_bindings_checksum_method_requeststream_next_async: {
2805
+ library: "libslim_bindings",
2806
+ retType: /* u16 */ DataType.U64,
2807
+ paramsType: [],
2808
+ },
2809
+ uniffi_slim_bindings_checksum_method_requeststreamwriter_finalize: {
2810
+ library: "libslim_bindings",
2811
+ retType: /* u16 */ DataType.U64,
2812
+ paramsType: [],
2813
+ },
2814
+ uniffi_slim_bindings_checksum_method_requeststreamwriter_finalize_async: {
2815
+ library: "libslim_bindings",
2816
+ retType: /* u16 */ DataType.U64,
2817
+ paramsType: [],
2818
+ },
2819
+ uniffi_slim_bindings_checksum_method_requeststreamwriter_send: {
2820
+ library: "libslim_bindings",
2821
+ retType: /* u16 */ DataType.U64,
2822
+ paramsType: [],
2823
+ },
2824
+ uniffi_slim_bindings_checksum_method_requeststreamwriter_send_async: {
2825
+ library: "libslim_bindings",
2826
+ retType: /* u16 */ DataType.U64,
2827
+ paramsType: [],
2828
+ },
2829
+ uniffi_slim_bindings_checksum_method_responsesink_close: {
2830
+ library: "libslim_bindings",
2831
+ retType: /* u16 */ DataType.U64,
2832
+ paramsType: [],
2833
+ },
2834
+ uniffi_slim_bindings_checksum_method_responsesink_close_async: {
2835
+ library: "libslim_bindings",
2836
+ retType: /* u16 */ DataType.U64,
2837
+ paramsType: [],
2838
+ },
2839
+ uniffi_slim_bindings_checksum_method_responsesink_is_closed: {
2840
+ library: "libslim_bindings",
2841
+ retType: /* u16 */ DataType.U64,
2842
+ paramsType: [],
2843
+ },
2844
+ uniffi_slim_bindings_checksum_method_responsesink_is_closed_async: {
2845
+ library: "libslim_bindings",
2846
+ retType: /* u16 */ DataType.U64,
2847
+ paramsType: [],
2848
+ },
2849
+ uniffi_slim_bindings_checksum_method_responsesink_send: {
2850
+ library: "libslim_bindings",
2851
+ retType: /* u16 */ DataType.U64,
2852
+ paramsType: [],
2853
+ },
2854
+ uniffi_slim_bindings_checksum_method_responsesink_send_async: {
2855
+ library: "libslim_bindings",
2856
+ retType: /* u16 */ DataType.U64,
2857
+ paramsType: [],
2858
+ },
2859
+ uniffi_slim_bindings_checksum_method_responsesink_send_error: {
2860
+ library: "libslim_bindings",
2861
+ retType: /* u16 */ DataType.U64,
2862
+ paramsType: [],
2863
+ },
2864
+ uniffi_slim_bindings_checksum_method_responsesink_send_error_async: {
2865
+ library: "libslim_bindings",
2866
+ retType: /* u16 */ DataType.U64,
2867
+ paramsType: [],
2868
+ },
2869
+ uniffi_slim_bindings_checksum_method_responsestreamreader_next: {
2870
+ library: "libslim_bindings",
2871
+ retType: /* u16 */ DataType.U64,
2872
+ paramsType: [],
2873
+ },
2874
+ uniffi_slim_bindings_checksum_method_responsestreamreader_next_async: {
2875
+ library: "libslim_bindings",
2876
+ retType: /* u16 */ DataType.U64,
2877
+ paramsType: [],
2878
+ },
2879
+ uniffi_slim_bindings_checksum_method_server_register_stream_stream: {
2880
+ library: "libslim_bindings",
2881
+ retType: /* u16 */ DataType.U64,
2882
+ paramsType: [],
2883
+ },
2884
+ uniffi_slim_bindings_checksum_method_server_register_stream_unary: {
2885
+ library: "libslim_bindings",
2886
+ retType: /* u16 */ DataType.U64,
2887
+ paramsType: [],
2888
+ },
2889
+ uniffi_slim_bindings_checksum_method_server_register_unary_stream: {
2890
+ library: "libslim_bindings",
2891
+ retType: /* u16 */ DataType.U64,
2892
+ paramsType: [],
2893
+ },
2894
+ uniffi_slim_bindings_checksum_method_server_register_unary_unary: {
2895
+ library: "libslim_bindings",
2896
+ retType: /* u16 */ DataType.U64,
2897
+ paramsType: [],
2898
+ },
2899
+ uniffi_slim_bindings_checksum_method_server_serve: {
2900
+ library: "libslim_bindings",
2901
+ retType: /* u16 */ DataType.U64,
2902
+ paramsType: [],
2903
+ },
2904
+ uniffi_slim_bindings_checksum_method_server_serve_async: {
2905
+ library: "libslim_bindings",
2906
+ retType: /* u16 */ DataType.U64,
2907
+ paramsType: [],
2908
+ },
2909
+ uniffi_slim_bindings_checksum_method_server_shutdown: {
2910
+ library: "libslim_bindings",
2911
+ retType: /* u16 */ DataType.U64,
2912
+ paramsType: [],
2913
+ },
2914
+ uniffi_slim_bindings_checksum_method_server_shutdown_async: {
2915
+ library: "libslim_bindings",
2916
+ retType: /* u16 */ DataType.U64,
2917
+ paramsType: [],
2918
+ },
2919
+ uniffi_slim_bindings_checksum_method_service_config: {
2920
+ library: "libslim_bindings",
2921
+ retType: /* u16 */ DataType.U64,
2922
+ paramsType: [],
2923
+ },
2924
+ uniffi_slim_bindings_checksum_method_service_connect: {
2925
+ library: "libslim_bindings",
2926
+ retType: /* u16 */ DataType.U64,
2927
+ paramsType: [],
2928
+ },
2929
+ uniffi_slim_bindings_checksum_method_service_connect_async: {
2930
+ library: "libslim_bindings",
2931
+ retType: /* u16 */ DataType.U64,
2932
+ paramsType: [],
2933
+ },
2934
+ uniffi_slim_bindings_checksum_method_service_create_app: {
2935
+ library: "libslim_bindings",
2936
+ retType: /* u16 */ DataType.U64,
2937
+ paramsType: [],
2938
+ },
2939
+ uniffi_slim_bindings_checksum_method_service_create_app_async: {
2940
+ library: "libslim_bindings",
2941
+ retType: /* u16 */ DataType.U64,
2942
+ paramsType: [],
2943
+ },
2944
+ uniffi_slim_bindings_checksum_method_service_create_app_with_direction: {
2945
+ library: "libslim_bindings",
2946
+ retType: /* u16 */ DataType.U64,
2947
+ paramsType: [],
2948
+ },
2949
+ uniffi_slim_bindings_checksum_method_service_create_app_with_direction_async: {
2950
+ library: "libslim_bindings",
2951
+ retType: /* u16 */ DataType.U64,
2952
+ paramsType: [],
2953
+ },
2954
+ uniffi_slim_bindings_checksum_method_service_create_app_with_secret: {
2955
+ library: "libslim_bindings",
2956
+ retType: /* u16 */ DataType.U64,
2957
+ paramsType: [],
2958
+ },
2959
+ uniffi_slim_bindings_checksum_method_service_create_app_with_secret_async: {
2960
+ library: "libslim_bindings",
2961
+ retType: /* u16 */ DataType.U64,
2962
+ paramsType: [],
2963
+ },
2964
+ uniffi_slim_bindings_checksum_method_service_disconnect: {
2965
+ library: "libslim_bindings",
2966
+ retType: /* u16 */ DataType.U64,
2967
+ paramsType: [],
2968
+ },
2969
+ uniffi_slim_bindings_checksum_method_service_get_connection_id: {
2970
+ library: "libslim_bindings",
2971
+ retType: /* u16 */ DataType.U64,
2972
+ paramsType: [],
2973
+ },
2974
+ uniffi_slim_bindings_checksum_method_service_get_name: {
2975
+ library: "libslim_bindings",
2976
+ retType: /* u16 */ DataType.U64,
2977
+ paramsType: [],
2978
+ },
2979
+ uniffi_slim_bindings_checksum_method_service_run: {
2980
+ library: "libslim_bindings",
2981
+ retType: /* u16 */ DataType.U64,
2982
+ paramsType: [],
2983
+ },
2984
+ uniffi_slim_bindings_checksum_method_service_run_async: {
2985
+ library: "libslim_bindings",
2986
+ retType: /* u16 */ DataType.U64,
2987
+ paramsType: [],
2988
+ },
2989
+ uniffi_slim_bindings_checksum_method_service_run_server: {
2990
+ library: "libslim_bindings",
2991
+ retType: /* u16 */ DataType.U64,
2992
+ paramsType: [],
2993
+ },
2994
+ uniffi_slim_bindings_checksum_method_service_run_server_async: {
2995
+ library: "libslim_bindings",
2996
+ retType: /* u16 */ DataType.U64,
2997
+ paramsType: [],
2998
+ },
2999
+ uniffi_slim_bindings_checksum_method_service_shutdown: {
3000
+ library: "libslim_bindings",
3001
+ retType: /* u16 */ DataType.U64,
3002
+ paramsType: [],
3003
+ },
3004
+ uniffi_slim_bindings_checksum_method_service_shutdown_async: {
3005
+ library: "libslim_bindings",
3006
+ retType: /* u16 */ DataType.U64,
3007
+ paramsType: [],
3008
+ },
3009
+ uniffi_slim_bindings_checksum_method_service_stop_server: {
3010
+ library: "libslim_bindings",
3011
+ retType: /* u16 */ DataType.U64,
3012
+ paramsType: [],
3013
+ },
3014
+ uniffi_slim_bindings_checksum_method_session_config: {
3015
+ library: "libslim_bindings",
3016
+ retType: /* u16 */ DataType.U64,
3017
+ paramsType: [],
3018
+ },
3019
+ uniffi_slim_bindings_checksum_method_session_destination: {
3020
+ library: "libslim_bindings",
3021
+ retType: /* u16 */ DataType.U64,
3022
+ paramsType: [],
3023
+ },
3024
+ uniffi_slim_bindings_checksum_method_session_get_message: {
3025
+ library: "libslim_bindings",
3026
+ retType: /* u16 */ DataType.U64,
3027
+ paramsType: [],
3028
+ },
3029
+ uniffi_slim_bindings_checksum_method_session_get_message_async: {
3030
+ library: "libslim_bindings",
3031
+ retType: /* u16 */ DataType.U64,
3032
+ paramsType: [],
3033
+ },
3034
+ uniffi_slim_bindings_checksum_method_session_invite: {
3035
+ library: "libslim_bindings",
3036
+ retType: /* u16 */ DataType.U64,
3037
+ paramsType: [],
3038
+ },
3039
+ uniffi_slim_bindings_checksum_method_session_invite_and_wait: {
3040
+ library: "libslim_bindings",
3041
+ retType: /* u16 */ DataType.U64,
3042
+ paramsType: [],
3043
+ },
3044
+ uniffi_slim_bindings_checksum_method_session_invite_and_wait_async: {
3045
+ library: "libslim_bindings",
3046
+ retType: /* u16 */ DataType.U64,
3047
+ paramsType: [],
3048
+ },
3049
+ uniffi_slim_bindings_checksum_method_session_invite_async: {
3050
+ library: "libslim_bindings",
3051
+ retType: /* u16 */ DataType.U64,
3052
+ paramsType: [],
3053
+ },
3054
+ uniffi_slim_bindings_checksum_method_session_is_initiator: {
3055
+ library: "libslim_bindings",
3056
+ retType: /* u16 */ DataType.U64,
3057
+ paramsType: [],
3058
+ },
3059
+ uniffi_slim_bindings_checksum_method_session_metadata: {
3060
+ library: "libslim_bindings",
3061
+ retType: /* u16 */ DataType.U64,
3062
+ paramsType: [],
3063
+ },
3064
+ uniffi_slim_bindings_checksum_method_session_participants_list: {
3065
+ library: "libslim_bindings",
3066
+ retType: /* u16 */ DataType.U64,
3067
+ paramsType: [],
3068
+ },
3069
+ uniffi_slim_bindings_checksum_method_session_participants_list_async: {
3070
+ library: "libslim_bindings",
3071
+ retType: /* u16 */ DataType.U64,
3072
+ paramsType: [],
3073
+ },
3074
+ uniffi_slim_bindings_checksum_method_session_publish: {
3075
+ library: "libslim_bindings",
3076
+ retType: /* u16 */ DataType.U64,
3077
+ paramsType: [],
3078
+ },
3079
+ uniffi_slim_bindings_checksum_method_session_publish_and_wait: {
3080
+ library: "libslim_bindings",
3081
+ retType: /* u16 */ DataType.U64,
3082
+ paramsType: [],
3083
+ },
3084
+ uniffi_slim_bindings_checksum_method_session_publish_and_wait_async: {
3085
+ library: "libslim_bindings",
3086
+ retType: /* u16 */ DataType.U64,
3087
+ paramsType: [],
3088
+ },
3089
+ uniffi_slim_bindings_checksum_method_session_publish_async: {
3090
+ library: "libslim_bindings",
3091
+ retType: /* u16 */ DataType.U64,
3092
+ paramsType: [],
3093
+ },
3094
+ uniffi_slim_bindings_checksum_method_session_publish_to: {
3095
+ library: "libslim_bindings",
3096
+ retType: /* u16 */ DataType.U64,
3097
+ paramsType: [],
3098
+ },
3099
+ uniffi_slim_bindings_checksum_method_session_publish_to_and_wait: {
3100
+ library: "libslim_bindings",
3101
+ retType: /* u16 */ DataType.U64,
3102
+ paramsType: [],
3103
+ },
3104
+ uniffi_slim_bindings_checksum_method_session_publish_to_and_wait_async: {
3105
+ library: "libslim_bindings",
3106
+ retType: /* u16 */ DataType.U64,
3107
+ paramsType: [],
3108
+ },
3109
+ uniffi_slim_bindings_checksum_method_session_publish_to_async: {
3110
+ library: "libslim_bindings",
3111
+ retType: /* u16 */ DataType.U64,
3112
+ paramsType: [],
3113
+ },
3114
+ uniffi_slim_bindings_checksum_method_session_publish_with_params: {
3115
+ library: "libslim_bindings",
3116
+ retType: /* u16 */ DataType.U64,
3117
+ paramsType: [],
3118
+ },
3119
+ uniffi_slim_bindings_checksum_method_session_publish_with_params_async: {
3120
+ library: "libslim_bindings",
3121
+ retType: /* u16 */ DataType.U64,
3122
+ paramsType: [],
3123
+ },
3124
+ uniffi_slim_bindings_checksum_method_session_remove: {
3125
+ library: "libslim_bindings",
3126
+ retType: /* u16 */ DataType.U64,
3127
+ paramsType: [],
3128
+ },
3129
+ uniffi_slim_bindings_checksum_method_session_remove_and_wait: {
3130
+ library: "libslim_bindings",
3131
+ retType: /* u16 */ DataType.U64,
3132
+ paramsType: [],
3133
+ },
3134
+ uniffi_slim_bindings_checksum_method_session_remove_and_wait_async: {
3135
+ library: "libslim_bindings",
3136
+ retType: /* u16 */ DataType.U64,
3137
+ paramsType: [],
3138
+ },
3139
+ uniffi_slim_bindings_checksum_method_session_remove_async: {
3140
+ library: "libslim_bindings",
3141
+ retType: /* u16 */ DataType.U64,
3142
+ paramsType: [],
3143
+ },
3144
+ uniffi_slim_bindings_checksum_method_session_session_id: {
3145
+ library: "libslim_bindings",
3146
+ retType: /* u16 */ DataType.U64,
3147
+ paramsType: [],
3148
+ },
3149
+ uniffi_slim_bindings_checksum_method_session_session_type: {
3150
+ library: "libslim_bindings",
3151
+ retType: /* u16 */ DataType.U64,
3152
+ paramsType: [],
3153
+ },
3154
+ uniffi_slim_bindings_checksum_method_session_source: {
3155
+ library: "libslim_bindings",
3156
+ retType: /* u16 */ DataType.U64,
3157
+ paramsType: [],
3158
+ },
3159
+ uniffi_slim_bindings_checksum_method_streamstreamhandler_handle: {
3160
+ library: "libslim_bindings",
3161
+ retType: /* u16 */ DataType.U64,
3162
+ paramsType: [],
3163
+ },
3164
+ uniffi_slim_bindings_checksum_method_streamunaryhandler_handle: {
3165
+ library: "libslim_bindings",
3166
+ retType: /* u16 */ DataType.U64,
3167
+ paramsType: [],
3168
+ },
3169
+ uniffi_slim_bindings_checksum_method_unarystreamhandler_handle: {
3170
+ library: "libslim_bindings",
3171
+ retType: /* u16 */ DataType.U64,
3172
+ paramsType: [],
3173
+ },
3174
+ uniffi_slim_bindings_checksum_method_unaryunaryhandler_handle: {
3175
+ library: "libslim_bindings",
3176
+ retType: /* u16 */ DataType.U64,
3177
+ paramsType: [],
3178
+ },
3179
+ uniffi_slim_bindings_checksum_constructor_app_new: {
3180
+ library: "libslim_bindings",
3181
+ retType: /* u16 */ DataType.U64,
3182
+ paramsType: [],
3183
+ },
3184
+ uniffi_slim_bindings_checksum_constructor_app_new_with_direction: {
3185
+ library: "libslim_bindings",
3186
+ retType: /* u16 */ DataType.U64,
3187
+ paramsType: [],
3188
+ },
3189
+ uniffi_slim_bindings_checksum_constructor_app_new_with_secret: {
3190
+ library: "libslim_bindings",
3191
+ retType: /* u16 */ DataType.U64,
3192
+ paramsType: [],
3193
+ },
3194
+ uniffi_slim_bindings_checksum_constructor_channel_new: {
3195
+ library: "libslim_bindings",
3196
+ retType: /* u16 */ DataType.U64,
3197
+ paramsType: [],
3198
+ },
3199
+ uniffi_slim_bindings_checksum_constructor_channel_new_with_connection: {
3200
+ library: "libslim_bindings",
3201
+ retType: /* u16 */ DataType.U64,
3202
+ paramsType: [],
3203
+ },
3204
+ uniffi_slim_bindings_checksum_constructor_name_new: {
3205
+ library: "libslim_bindings",
3206
+ retType: /* u16 */ DataType.U64,
3207
+ paramsType: [],
3208
+ },
3209
+ uniffi_slim_bindings_checksum_constructor_name_new_with_id: {
3210
+ library: "libslim_bindings",
3211
+ retType: /* u16 */ DataType.U64,
3212
+ paramsType: [],
3213
+ },
3214
+ uniffi_slim_bindings_checksum_constructor_server_new: {
3215
+ library: "libslim_bindings",
3216
+ retType: /* u16 */ DataType.U64,
3217
+ paramsType: [],
3218
+ },
3219
+ uniffi_slim_bindings_checksum_constructor_server_new_with_connection: {
3220
+ library: "libslim_bindings",
3221
+ retType: /* u16 */ DataType.U64,
3222
+ paramsType: [],
3223
+ },
3224
+ uniffi_slim_bindings_checksum_constructor_service_new: {
3225
+ library: "libslim_bindings",
3226
+ retType: /* u16 */ DataType.U64,
3227
+ paramsType: [],
3228
+ },
3229
+ uniffi_slim_bindings_checksum_constructor_service_new_with_config: {
3230
+ library: "libslim_bindings",
3231
+ retType: /* u16 */ DataType.U64,
3232
+ paramsType: [],
3233
+ },
3234
+ ffi_slim_bindings_uniffi_contract_version: {
3235
+ library: "libslim_bindings",
3236
+ retType: /* u32 */ DataType.U64,
3237
+ paramsType: [],
3238
+ },
3239
+ });
3240
+ export default FFI_DYNAMIC_LIB;