bump: frb

This commit is contained in:
2025-03-16 15:51:53 +08:00
parent b830b2b863
commit b18024a8ce
11 changed files with 42 additions and 45 deletions

View File

@ -1,5 +1,5 @@
// This file is automatically generated, so please do not edit it.
// @generated by `flutter_rust_bridge`@ 2.8.0.
// @generated by `flutter_rust_bridge`@ 2.9.0.
// ignore_for_file: unused_import, unused_element, unnecessary_import, duplicate_ignore, invalid_use_of_internal_member, annotate_overrides, non_constant_identifier_names, curly_braces_in_flow_control_structures, prefer_const_literals_to_create_immutables, unused_field
@ -26,7 +26,7 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl<RustLibWire> {
AnyhowException dco_decode_AnyhowException(dynamic raw);
@protected
Map<String, String> dco_decode_Map_String_String(dynamic raw);
Map<String, String> dco_decode_Map_String_String_None(dynamic raw);
@protected
RustStreamSink<RsProcessStreamData>
@ -70,7 +70,7 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl<RustLibWire> {
MyMethod dco_decode_my_method(dynamic raw);
@protected
Map<String, String>? dco_decode_opt_Map_String_String(dynamic raw);
Map<String, String>? dco_decode_opt_Map_String_String_None(dynamic raw);
@protected
String? dco_decode_opt_String(dynamic raw);
@ -118,7 +118,7 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl<RustLibWire> {
AnyhowException sse_decode_AnyhowException(SseDeserializer deserializer);
@protected
Map<String, String> sse_decode_Map_String_String(
Map<String, String> sse_decode_Map_String_String_None(
SseDeserializer deserializer);
@protected
@ -165,7 +165,7 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl<RustLibWire> {
MyMethod sse_decode_my_method(SseDeserializer deserializer);
@protected
Map<String, String>? sse_decode_opt_Map_String_String(
Map<String, String>? sse_decode_opt_Map_String_String_None(
SseDeserializer deserializer);
@protected
@ -222,8 +222,8 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl<RustLibWire> {
}
@protected
ffi.Pointer<wire_cst_list_record_string_string> cst_encode_Map_String_String(
Map<String, String> raw) {
ffi.Pointer<wire_cst_list_record_string_string>
cst_encode_Map_String_String_None(Map<String, String> raw) {
// Codec=Cst (C-struct based), see doc to use other codecs
return cst_encode_list_record_string_string(
raw.entries.map((e) => (e.key, e.value)).toList());
@ -309,9 +309,9 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl<RustLibWire> {
@protected
ffi.Pointer<wire_cst_list_record_string_string>
cst_encode_opt_Map_String_String(Map<String, String>? raw) {
cst_encode_opt_Map_String_String_None(Map<String, String>? raw) {
// Codec=Cst (C-struct based), see doc to use other codecs
return raw == null ? ffi.nullptr : cst_encode_Map_String_String(raw);
return raw == null ? ffi.nullptr : cst_encode_Map_String_String_None(raw);
}
@protected
@ -381,7 +381,7 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl<RustLibWire> {
void cst_api_fill_to_wire_rust_http_response(
RustHttpResponse apiObj, wire_cst_rust_http_response wireObj) {
wireObj.status_code = cst_encode_u_16(apiObj.statusCode);
wireObj.headers = cst_encode_Map_String_String(apiObj.headers);
wireObj.headers = cst_encode_Map_String_String_None(apiObj.headers);
wireObj.url = cst_encode_String(apiObj.url);
wireObj.content_length =
cst_encode_opt_box_autoadd_u_64(apiObj.contentLength);
@ -422,7 +422,7 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl<RustLibWire> {
AnyhowException self, SseSerializer serializer);
@protected
void sse_encode_Map_String_String(
void sse_encode_Map_String_String_None(
Map<String, String> self, SseSerializer serializer);
@protected
@ -469,7 +469,7 @@ abstract class RustLibApiImplPlatform extends BaseApiImpl<RustLibWire> {
void sse_encode_my_method(MyMethod self, SseSerializer serializer);
@protected
void sse_encode_opt_Map_String_String(
void sse_encode_opt_Map_String_String_None(
Map<String, String>? self, SseSerializer serializer);
@protected