@@ -68,7 +68,7 @@ class RustLib extends BaseEntrypoint<RustLibApi, RustLibApiImpl, RustLibWire> {
68
68
String get codegenVersion => '2.7.1' ;
69
69
70
70
@override
71
- int get rustContentHash => 1166095122 ;
71
+ int get rustContentHash => 2139481266 ;
72
72
73
73
static const kDefaultExternalLibraryLoaderConfig =
74
74
ExternalLibraryLoaderConfig (
@@ -108,11 +108,6 @@ abstract class RustLibApi extends BaseApi {
108
108
{required PluginCallback that,
109
109
required FutureOr <String > Function (StateFieldAccess ) stateFieldAccess});
110
110
111
- void crateApiPluginPluginCallbackChangeStateFieldChange (
112
- {required PluginCallback that,
113
- required FutureOr <void > Function (StateFieldAccess , String )
114
- stateFieldChange});
115
-
116
111
PluginCallback crateApiPluginPluginCallbackDefault ();
117
112
118
113
Future <int > crateApiSimpleSimpleAdderTwinNormal (
@@ -357,43 +352,12 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
357
352
argNames: ["that" , "stateFieldAccess" ],
358
353
);
359
354
360
- @override
361
- void crateApiPluginPluginCallbackChangeStateFieldChange (
362
- {required PluginCallback that,
363
- required FutureOr <void > Function (StateFieldAccess , String )
364
- stateFieldChange}) {
365
- return handler.executeSync (SyncTask (
366
- callFfi: () {
367
- final serializer = SseSerializer (generalizedFrbRustBinding);
368
- sse_encode_Auto_RefMut_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerPluginCallback (
369
- that, serializer);
370
- sse_encode_DartFn_Inputs_state_field_access_String_Output_unit_AnyhowException (
371
- stateFieldChange, serializer);
372
- return pdeCallFfi (generalizedFrbRustBinding, serializer, funcId: 8 )! ;
373
- },
374
- codec: SseCodec (
375
- decodeSuccessData: sse_decode_unit,
376
- decodeErrorData: null ,
377
- ),
378
- constMeta: kCrateApiPluginPluginCallbackChangeStateFieldChangeConstMeta,
379
- argValues: [that, stateFieldChange],
380
- apiImpl: this ,
381
- ));
382
- }
383
-
384
- TaskConstMeta
385
- get kCrateApiPluginPluginCallbackChangeStateFieldChangeConstMeta =>
386
- const TaskConstMeta (
387
- debugName: "PluginCallback_change_state_field_change" ,
388
- argNames: ["that" , "stateFieldChange" ],
389
- );
390
-
391
355
@override
392
356
PluginCallback crateApiPluginPluginCallbackDefault () {
393
357
return handler.executeSync (SyncTask (
394
358
callFfi: () {
395
359
final serializer = SseSerializer (generalizedFrbRustBinding);
396
- return pdeCallFfi (generalizedFrbRustBinding, serializer, funcId: 9 )! ;
360
+ return pdeCallFfi (generalizedFrbRustBinding, serializer, funcId: 8 )! ;
397
361
},
398
362
codec: SseCodec (
399
363
decodeSuccessData:
@@ -421,7 +385,7 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
421
385
sse_encode_i_32 (a, serializer);
422
386
sse_encode_i_32 (b, serializer);
423
387
pdeCallFfi (generalizedFrbRustBinding, serializer,
424
- funcId: 12 , port: port_);
388
+ funcId: 11 , port: port_);
425
389
},
426
390
codec: SseCodec (
427
391
decodeSuccessData: sse_decode_i_32,
@@ -573,40 +537,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
573
537
};
574
538
}
575
539
576
- Future <void > Function (int , dynamic , dynamic )
577
- encode_DartFn_Inputs_state_field_access_String_Output_unit_AnyhowException (
578
- FutureOr <void > Function (StateFieldAccess , String ) raw) {
579
- return (callId, rawArg0, rawArg1) async {
580
- final arg0 = dco_decode_state_field_access (rawArg0);
581
- final arg1 = dco_decode_String (rawArg1);
582
-
583
- Box <void >? rawOutput;
584
- Box <AnyhowException >? rawError;
585
- try {
586
- rawOutput = Box (await raw (arg0, arg1));
587
- } catch (e, s) {
588
- rawError = Box (AnyhowException ("$e \n\n $s " ));
589
- }
590
-
591
- final serializer = SseSerializer (generalizedFrbRustBinding);
592
- assert ((rawOutput != null ) ^ (rawError != null ));
593
- if (rawOutput != null ) {
594
- serializer.buffer.putUint8 (0 );
595
- sse_encode_unit (rawOutput.value, serializer);
596
- } else {
597
- serializer.buffer.putUint8 (1 );
598
- sse_encode_AnyhowException (rawError! .value, serializer);
599
- }
600
- final output = serializer.intoRaw ();
601
-
602
- generalizedFrbRustBinding.dartFnDeliverOutput (
603
- callId: callId,
604
- ptr: output.ptr,
605
- rustVecLen: output.rustVecLen,
606
- dataLen: output.dataLen);
607
- };
608
- }
609
-
610
540
RustArcIncrementStrongCountFnType
611
541
get rust_arc_increment_strong_count_LuauPlugin => wire
612
542
.rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerLuauPlugin;
@@ -692,14 +622,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
692
622
throw UnimplementedError ('' );
693
623
}
694
624
695
- @protected
696
- FutureOr <void > Function (StateFieldAccess , String )
697
- dco_decode_DartFn_Inputs_state_field_access_String_Output_unit_AnyhowException (
698
- dynamic raw) {
699
- // Codec=Dco (DartCObject based), see doc to use other codecs
700
- throw UnimplementedError ('' );
701
- }
702
-
703
625
@protected
704
626
Object dco_decode_DartOpaque (dynamic raw) {
705
627
// Codec=Dco (DartCObject based), see doc to use other codecs
@@ -1151,18 +1073,6 @@ class RustLibApiImpl extends RustLibApiImplPlatform implements RustLibApi {
1151
1073
serializer);
1152
1074
}
1153
1075
1154
- @protected
1155
- void
1156
- sse_encode_DartFn_Inputs_state_field_access_String_Output_unit_AnyhowException (
1157
- FutureOr <void > Function (StateFieldAccess , String ) self,
1158
- SseSerializer serializer) {
1159
- // Codec=Sse (Serialization based), see doc to use other codecs
1160
- sse_encode_DartOpaque (
1161
- encode_DartFn_Inputs_state_field_access_String_Output_unit_AnyhowException (
1162
- self),
1163
- serializer);
1164
- }
1165
-
1166
1076
@protected
1167
1077
void sse_encode_DartOpaque (Object self, SseSerializer serializer) {
1168
1078
// Codec=Sse (Serialization based), see doc to use other codecs
@@ -1405,10 +1315,4 @@ class PluginCallbackImpl extends RustOpaque implements PluginCallback {
1405
1315
stateFieldAccess}) =>
1406
1316
RustLib .instance.api.crateApiPluginPluginCallbackChangeStateFieldAccess (
1407
1317
that: this , stateFieldAccess: stateFieldAccess);
1408
-
1409
- void changeStateFieldChange (
1410
- {required FutureOr <void > Function (StateFieldAccess , String )
1411
- stateFieldChange}) =>
1412
- RustLib .instance.api.crateApiPluginPluginCallbackChangeStateFieldChange (
1413
- that: this , stateFieldChange: stateFieldChange);
1414
1318
}
0 commit comments