content: // This file is automatically generated, so please do not edit it.
  // @generated by `flutter_rust_bridge`@ 2.11.1.
  
  // 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
  
  // Static analysis wrongly picks the IO variant, thus ignore this
  // ignore_for_file: argument_type_not_assignable
  
  import 'api/image.dart';
  import 'api/rhttp/client.dart';
  import 'api/rhttp/error.dart';
  import 'api/rhttp/http.dart';
  import 'dart:async';
  import 'dart:convert';
  import 'frb_generated.dart';
  import 'lib.dart';
  import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated_web.dart';
  
  abstract class RustLibApiImplPlatform extends BaseApiImpl<RustLibWire> {
    RustLibApiImplPlatform({
      required super.handler,
      required super.wire,
      required super.generalizedFrbRustBinding,
      required super.portManager,
    });
  
    CrossPlatformFinalizerArg
    get rust_arc_decrement_strong_count_CancellationTokenPtr => wire
        .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerCancellationToken;
  
    CrossPlatformFinalizerArg
    get rust_arc_decrement_strong_count_DnsSettingsPtr => wire
        .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDnsSettings;
  
    CrossPlatformFinalizerArg
    get rust_arc_decrement_strong_count_RequestClientPtr => wire
        .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient;
  
    @protected
    AnyhowException dco_decode_AnyhowException(dynamic raw);
  
    @protected
    RequestClient
    dco_decode_AutoExplicit_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient(
      dynamic raw,
    );
  
    @protected
    CancellationToken
    dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerCancellationToken(
      dynamic raw,
    );
  
    @protected
    DnsSettings
    dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDnsSettings(
      dynamic raw,
    );
  
    @protected
    RequestClient
    dco_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient(
      dynamic raw,
    );
  
    @protected
    CancellationToken
    dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerCancellationToken(
      dynamic raw,
    );
  
    @protected
    RequestClient
    dco_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient(
      dynamic raw,
    );
  
    @protected
    Duration dco_decode_Chrono_Duration(dynamic raw);
  
    @protected
    FutureOr<void> Function(CancellationToken)
    dco_decode_DartFn_Inputs_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerCancellationToken_Output_unit_AnyhowException(
      dynamic raw,
    );
  
    @protected
    FutureOr<List<String>> Function(String)
    dco_decode_DartFn_Inputs_String_Output_list_String_AnyhowException(
      dynamic raw,
    );
  
    @protected
    FutureOr<void> Function(HttpResponse)
    dco_decode_DartFn_Inputs_http_response_Output_unit_AnyhowException(
      dynamic raw,
    );
  
    @protected
    FutureOr<void> Function(RhttpError)
    dco_decode_DartFn_Inputs_rhttp_error_Output_unit_AnyhowException(dynamic raw);
  
    @protected
    Object dco_decode_DartOpaque(dynamic raw);
  
    @protected
    Map<String, String> dco_decode_Map_String_String_None(dynamic raw);
  
    @protected
    Map<String, List<String>> dco_decode_Map_String_list_String_None(dynamic raw);
  
    @protected
    CancellationToken
    dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerCancellationToken(
      dynamic raw,
    );
  
    @protected
    DnsSettings
    dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDnsSettings(
      dynamic raw,
    );
  
    @protected
    RequestClient
    dco_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient(
      dynamic raw,
    );
  
    @protected
    RustStreamSink<Uint8List> dco_decode_StreamSink_list_prim_u_8_strict_Sse(
      dynamic raw,
    );
  
    @protected
    String dco_decode_String(dynamic raw);
  
    @protected
    SocketAddrDigester dco_decode_TraitDef_SocketAddrDigester(dynamic raw);
  
    @protected
    bool dco_decode_bool(dynamic raw);
  
    @protected
    DnsSettings
    dco_decode_box_autoadd_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDnsSettings(
      dynamic raw,
    );
  
    @protected
    Duration dco_decode_box_autoadd_Chrono_Duration(dynamic raw);
  
    @protected
    ClientCertificate dco_decode_box_autoadd_client_certificate(dynamic raw);
  
    @protected
    ClientSettings dco_decode_box_autoadd_client_settings(dynamic raw);
  
    @protected
    HttpHeaders dco_decode_box_autoadd_http_headers(dynamic raw);
  
    @protected
    HttpResponseBody dco_decode_box_autoadd_http_response_body(dynamic raw);
  
    @protected
    ProxySettings dco_decode_box_autoadd_proxy_settings(dynamic raw);
  
    @protected
    RedirectSettings dco_decode_box_autoadd_redirect_settings(dynamic raw);
  
    @protected
    StaticDnsSettings dco_decode_box_autoadd_static_dns_settings(dynamic raw);
  
    @protected
    TimeoutSettings dco_decode_box_autoadd_timeout_settings(dynamic raw);
  
    @protected
    TlsSettings dco_decode_box_autoadd_tls_settings(dynamic raw);
  
    @protected
    TlsVersion dco_decode_box_autoadd_tls_version(dynamic raw);
  
    @protected
    ClientCertificate dco_decode_client_certificate(dynamic raw);
  
    @protected
    ClientSettings dco_decode_client_settings(dynamic raw);
  
    @protected
    CustomProxy dco_decode_custom_proxy(dynamic raw);
  
    @protected
    HttpHeaders dco_decode_http_headers(dynamic raw);
  
    @protected
    HttpMethod dco_decode_http_method(dynamic raw);
  
    @protected
    HttpResponse dco_decode_http_response(dynamic raw);
  
    @protected
    HttpResponseBody dco_decode_http_response_body(dynamic raw);
  
    @protected
    HttpVersion dco_decode_http_version(dynamic raw);
  
    @protected
    int dco_decode_i_32(dynamic raw);
  
    @protected
    PlatformInt64 dco_decode_i_64(dynamic raw);
  
    @protected
    PlatformInt64 dco_decode_isize(dynamic raw);
  
    @protected
    List<String> dco_decode_list_String(dynamic raw);
  
    @protected
    List<CustomProxy> dco_decode_list_custom_proxy(dynamic raw);
  
    @protected
    List<Uint8List> dco_decode_list_list_prim_u_8_strict(dynamic raw);
  
    @protected
    List<int> dco_decode_list_prim_u_8_loose(dynamic raw);
  
    @protected
    Uint8List dco_decode_list_prim_u_8_strict(dynamic raw);
  
    @protected
    List<(String, List<String>)> dco_decode_list_record_string_list_string(
      dynamic raw,
    );
  
    @protected
    List<(String, String)> dco_decode_list_record_string_string(dynamic raw);
  
    @protected
    RequestClient?
    dco_decode_opt_AutoExplicit_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient(
      dynamic raw,
    );
  
    @protected
    String? dco_decode_opt_String(dynamic raw);
  
    @protected
    DnsSettings?
    dco_decode_opt_box_autoadd_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDnsSettings(
      dynamic raw,
    );
  
    @protected
    Duration? dco_decode_opt_box_autoadd_Chrono_Duration(dynamic raw);
  
    @protected
    ClientCertificate? dco_decode_opt_box_autoadd_client_certificate(dynamic raw);
  
    @protected
    ClientSettings? dco_decode_opt_box_autoadd_client_settings(dynamic raw);
  
    @protected
    HttpHeaders? dco_decode_opt_box_autoadd_http_headers(dynamic raw);
  
    @protected
    ProxySettings? dco_decode_opt_box_autoadd_proxy_settings(dynamic raw);
  
    @protected
    RedirectSettings? dco_decode_opt_box_autoadd_redirect_settings(dynamic raw);
  
    @protected
    TimeoutSettings? dco_decode_opt_box_autoadd_timeout_settings(dynamic raw);
  
    @protected
    TlsSettings? dco_decode_opt_box_autoadd_tls_settings(dynamic raw);
  
    @protected
    TlsVersion? dco_decode_opt_box_autoadd_tls_version(dynamic raw);
  
    @protected
    Uint8List? dco_decode_opt_list_prim_u_8_strict(dynamic raw);
  
    @protected
    List<(String, String)>? dco_decode_opt_list_record_string_string(dynamic raw);
  
    @protected
    ProxyCondition dco_decode_proxy_condition(dynamic raw);
  
    @protected
    ProxySettings dco_decode_proxy_settings(dynamic raw);
  
    @protected
    (String, List<String>) dco_decode_record_string_list_string(dynamic raw);
  
    @protected
    (String, String) dco_decode_record_string_string(dynamic raw);
  
    @protected
    RedirectSettings dco_decode_redirect_settings(dynamic raw);
  
    @protected
    RhttpError dco_decode_rhttp_error(dynamic raw);
  
    @protected
    StaticDnsSettings dco_decode_static_dns_settings(dynamic raw);
  
    @protected
    TimeoutSettings dco_decode_timeout_settings(dynamic raw);
  
    @protected
    TlsSettings dco_decode_tls_settings(dynamic raw);
  
    @protected
    TlsVersion dco_decode_tls_version(dynamic raw);
  
    @protected
    int dco_decode_u_16(dynamic raw);
  
    @protected
    int dco_decode_u_8(dynamic raw);
  
    @protected
    void dco_decode_unit(dynamic raw);
  
    @protected
    BigInt dco_decode_usize(dynamic raw);
  
    @protected
    AnyhowException sse_decode_AnyhowException(SseDeserializer deserializer);
  
    @protected
    RequestClient
    sse_decode_AutoExplicit_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient(
      SseDeserializer deserializer,
    );
  
    @protected
    CancellationToken
    sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerCancellationToken(
      SseDeserializer deserializer,
    );
  
    @protected
    DnsSettings
    sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDnsSettings(
      SseDeserializer deserializer,
    );
  
    @protected
    RequestClient
    sse_decode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient(
      SseDeserializer deserializer,
    );
  
    @protected
    CancellationToken
    sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerCancellationToken(
      SseDeserializer deserializer,
    );
  
    @protected
    RequestClient
    sse_decode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient(
      SseDeserializer deserializer,
    );
  
    @protected
    Duration sse_decode_Chrono_Duration(SseDeserializer deserializer);
  
    @protected
    Object sse_decode_DartOpaque(SseDeserializer deserializer);
  
    @protected
    Map<String, String> sse_decode_Map_String_String_None(
      SseDeserializer deserializer,
    );
  
    @protected
    Map<String, List<String>> sse_decode_Map_String_list_String_None(
      SseDeserializer deserializer,
    );
  
    @protected
    CancellationToken
    sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerCancellationToken(
      SseDeserializer deserializer,
    );
  
    @protected
    DnsSettings
    sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDnsSettings(
      SseDeserializer deserializer,
    );
  
    @protected
    RequestClient
    sse_decode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient(
      SseDeserializer deserializer,
    );
  
    @protected
    RustStreamSink<Uint8List> sse_decode_StreamSink_list_prim_u_8_strict_Sse(
      SseDeserializer deserializer,
    );
  
    @protected
    String sse_decode_String(SseDeserializer deserializer);
  
    @protected
    bool sse_decode_bool(SseDeserializer deserializer);
  
    @protected
    DnsSettings
    sse_decode_box_autoadd_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDnsSettings(
      SseDeserializer deserializer,
    );
  
    @protected
    Duration sse_decode_box_autoadd_Chrono_Duration(SseDeserializer deserializer);
  
    @protected
    ClientCertificate sse_decode_box_autoadd_client_certificate(
      SseDeserializer deserializer,
    );
  
    @protected
    ClientSettings sse_decode_box_autoadd_client_settings(
      SseDeserializer deserializer,
    );
  
    @protected
    HttpHeaders sse_decode_box_autoadd_http_headers(SseDeserializer deserializer);
  
    @protected
    HttpResponseBody sse_decode_box_autoadd_http_response_body(
      SseDeserializer deserializer,
    );
  
    @protected
    ProxySettings sse_decode_box_autoadd_proxy_settings(
      SseDeserializer deserializer,
    );
  
    @protected
    RedirectSettings sse_decode_box_autoadd_redirect_settings(
      SseDeserializer deserializer,
    );
  
    @protected
    StaticDnsSettings sse_decode_box_autoadd_static_dns_settings(
      SseDeserializer deserializer,
    );
  
    @protected
    TimeoutSettings sse_decode_box_autoadd_timeout_settings(
      SseDeserializer deserializer,
    );
  
    @protected
    TlsSettings sse_decode_box_autoadd_tls_settings(SseDeserializer deserializer);
  
    @protected
    TlsVersion sse_decode_box_autoadd_tls_version(SseDeserializer deserializer);
  
    @protected
    ClientCertificate sse_decode_client_certificate(SseDeserializer deserializer);
  
    @protected
    ClientSettings sse_decode_client_settings(SseDeserializer deserializer);
  
    @protected
    CustomProxy sse_decode_custom_proxy(SseDeserializer deserializer);
  
    @protected
    HttpHeaders sse_decode_http_headers(SseDeserializer deserializer);
  
    @protected
    HttpMethod sse_decode_http_method(SseDeserializer deserializer);
  
    @protected
    HttpResponse sse_decode_http_response(SseDeserializer deserializer);
  
    @protected
    HttpResponseBody sse_decode_http_response_body(SseDeserializer deserializer);
  
    @protected
    HttpVersion sse_decode_http_version(SseDeserializer deserializer);
  
    @protected
    int sse_decode_i_32(SseDeserializer deserializer);
  
    @protected
    PlatformInt64 sse_decode_i_64(SseDeserializer deserializer);
  
    @protected
    PlatformInt64 sse_decode_isize(SseDeserializer deserializer);
  
    @protected
    List<String> sse_decode_list_String(SseDeserializer deserializer);
  
    @protected
    List<CustomProxy> sse_decode_list_custom_proxy(SseDeserializer deserializer);
  
    @protected
    List<Uint8List> sse_decode_list_list_prim_u_8_strict(
      SseDeserializer deserializer,
    );
  
    @protected
    List<int> sse_decode_list_prim_u_8_loose(SseDeserializer deserializer);
  
    @protected
    Uint8List sse_decode_list_prim_u_8_strict(SseDeserializer deserializer);
  
    @protected
    List<(String, List<String>)> sse_decode_list_record_string_list_string(
      SseDeserializer deserializer,
    );
  
    @protected
    List<(String, String)> sse_decode_list_record_string_string(
      SseDeserializer deserializer,
    );
  
    @protected
    RequestClient?
    sse_decode_opt_AutoExplicit_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient(
      SseDeserializer deserializer,
    );
  
    @protected
    String? sse_decode_opt_String(SseDeserializer deserializer);
  
    @protected
    DnsSettings?
    sse_decode_opt_box_autoadd_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDnsSettings(
      SseDeserializer deserializer,
    );
  
    @protected
    Duration? sse_decode_opt_box_autoadd_Chrono_Duration(
      SseDeserializer deserializer,
    );
  
    @protected
    ClientCertificate? sse_decode_opt_box_autoadd_client_certificate(
      SseDeserializer deserializer,
    );
  
    @protected
    ClientSettings? sse_decode_opt_box_autoadd_client_settings(
      SseDeserializer deserializer,
    );
  
    @protected
    HttpHeaders? sse_decode_opt_box_autoadd_http_headers(
      SseDeserializer deserializer,
    );
  
    @protected
    ProxySettings? sse_decode_opt_box_autoadd_proxy_settings(
      SseDeserializer deserializer,
    );
  
    @protected
    RedirectSettings? sse_decode_opt_box_autoadd_redirect_settings(
      SseDeserializer deserializer,
    );
  
    @protected
    TimeoutSettings? sse_decode_opt_box_autoadd_timeout_settings(
      SseDeserializer deserializer,
    );
  
    @protected
    TlsSettings? sse_decode_opt_box_autoadd_tls_settings(
      SseDeserializer deserializer,
    );
  
    @protected
    TlsVersion? sse_decode_opt_box_autoadd_tls_version(
      SseDeserializer deserializer,
    );
  
    @protected
    Uint8List? sse_decode_opt_list_prim_u_8_strict(SseDeserializer deserializer);
  
    @protected
    List<(String, String)>? sse_decode_opt_list_record_string_string(
      SseDeserializer deserializer,
    );
  
    @protected
    ProxyCondition sse_decode_proxy_condition(SseDeserializer deserializer);
  
    @protected
    ProxySettings sse_decode_proxy_settings(SseDeserializer deserializer);
  
    @protected
    (String, List<String>) sse_decode_record_string_list_string(
      SseDeserializer deserializer,
    );
  
    @protected
    (String, String) sse_decode_record_string_string(
      SseDeserializer deserializer,
    );
  
    @protected
    RedirectSettings sse_decode_redirect_settings(SseDeserializer deserializer);
  
    @protected
    RhttpError sse_decode_rhttp_error(SseDeserializer deserializer);
  
    @protected
    StaticDnsSettings sse_decode_static_dns_settings(
      SseDeserializer deserializer,
    );
  
    @protected
    TimeoutSettings sse_decode_timeout_settings(SseDeserializer deserializer);
  
    @protected
    TlsSettings sse_decode_tls_settings(SseDeserializer deserializer);
  
    @protected
    TlsVersion sse_decode_tls_version(SseDeserializer deserializer);
  
    @protected
    int sse_decode_u_16(SseDeserializer deserializer);
  
    @protected
    int sse_decode_u_8(SseDeserializer deserializer);
  
    @protected
    void sse_decode_unit(SseDeserializer deserializer);
  
    @protected
    BigInt sse_decode_usize(SseDeserializer deserializer);
  
    @protected
    void sse_encode_AnyhowException(
      AnyhowException self,
      SseSerializer serializer,
    );
  
    @protected
    void
    sse_encode_AutoExplicit_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient(
      RequestClient self,
      SseSerializer serializer,
    );
  
    @protected
    void
    sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerCancellationToken(
      CancellationToken self,
      SseSerializer serializer,
    );
  
    @protected
    void
    sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDnsSettings(
      DnsSettings self,
      SseSerializer serializer,
    );
  
    @protected
    void
    sse_encode_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient(
      RequestClient self,
      SseSerializer serializer,
    );
  
    @protected
    void
    sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerCancellationToken(
      CancellationToken self,
      SseSerializer serializer,
    );
  
    @protected
    void
    sse_encode_Auto_Ref_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient(
      RequestClient self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_Chrono_Duration(Duration self, SseSerializer serializer);
  
    @protected
    void
    sse_encode_DartFn_Inputs_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerCancellationToken_Output_unit_AnyhowException(
      FutureOr<void> Function(CancellationToken) self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_DartFn_Inputs_String_Output_list_String_AnyhowException(
      FutureOr<List<String>> Function(String) self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_DartFn_Inputs_http_response_Output_unit_AnyhowException(
      FutureOr<void> Function(HttpResponse) self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_DartFn_Inputs_rhttp_error_Output_unit_AnyhowException(
      FutureOr<void> Function(RhttpError) self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_DartOpaque(Object self, SseSerializer serializer);
  
    @protected
    void sse_encode_Map_String_String_None(
      Map<String, String> self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_Map_String_list_String_None(
      Map<String, List<String>> self,
      SseSerializer serializer,
    );
  
    @protected
    void
    sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerCancellationToken(
      CancellationToken self,
      SseSerializer serializer,
    );
  
    @protected
    void
    sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDnsSettings(
      DnsSettings self,
      SseSerializer serializer,
    );
  
    @protected
    void
    sse_encode_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient(
      RequestClient self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_StreamSink_list_prim_u_8_strict_Sse(
      RustStreamSink<Uint8List> self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_String(String self, SseSerializer serializer);
  
    @protected
    void sse_encode_bool(bool self, SseSerializer serializer);
  
    @protected
    void
    sse_encode_box_autoadd_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDnsSettings(
      DnsSettings self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_box_autoadd_Chrono_Duration(
      Duration self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_box_autoadd_client_certificate(
      ClientCertificate self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_box_autoadd_client_settings(
      ClientSettings self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_box_autoadd_http_headers(
      HttpHeaders self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_box_autoadd_http_response_body(
      HttpResponseBody self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_box_autoadd_proxy_settings(
      ProxySettings self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_box_autoadd_redirect_settings(
      RedirectSettings self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_box_autoadd_static_dns_settings(
      StaticDnsSettings self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_box_autoadd_timeout_settings(
      TimeoutSettings self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_box_autoadd_tls_settings(
      TlsSettings self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_box_autoadd_tls_version(
      TlsVersion self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_client_certificate(
      ClientCertificate self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_client_settings(
      ClientSettings self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_custom_proxy(CustomProxy self, SseSerializer serializer);
  
    @protected
    void sse_encode_http_headers(HttpHeaders self, SseSerializer serializer);
  
    @protected
    void sse_encode_http_method(HttpMethod self, SseSerializer serializer);
  
    @protected
    void sse_encode_http_response(HttpResponse self, SseSerializer serializer);
  
    @protected
    void sse_encode_http_response_body(
      HttpResponseBody self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_http_version(HttpVersion self, SseSerializer serializer);
  
    @protected
    void sse_encode_i_32(int self, SseSerializer serializer);
  
    @protected
    void sse_encode_i_64(PlatformInt64 self, SseSerializer serializer);
  
    @protected
    void sse_encode_isize(PlatformInt64 self, SseSerializer serializer);
  
    @protected
    void sse_encode_list_String(List<String> self, SseSerializer serializer);
  
    @protected
    void sse_encode_list_custom_proxy(
      List<CustomProxy> self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_list_list_prim_u_8_strict(
      List<Uint8List> self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_list_prim_u_8_loose(List<int> self, SseSerializer serializer);
  
    @protected
    void sse_encode_list_prim_u_8_strict(
      Uint8List self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_list_record_string_list_string(
      List<(String, List<String>)> self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_list_record_string_string(
      List<(String, String)> self,
      SseSerializer serializer,
    );
  
    @protected
    void
    sse_encode_opt_AutoExplicit_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient(
      RequestClient? self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_opt_String(String? self, SseSerializer serializer);
  
    @protected
    void
    sse_encode_opt_box_autoadd_Auto_Owned_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDnsSettings(
      DnsSettings? self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_opt_box_autoadd_Chrono_Duration(
      Duration? self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_opt_box_autoadd_client_certificate(
      ClientCertificate? self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_opt_box_autoadd_client_settings(
      ClientSettings? self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_opt_box_autoadd_http_headers(
      HttpHeaders? self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_opt_box_autoadd_proxy_settings(
      ProxySettings? self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_opt_box_autoadd_redirect_settings(
      RedirectSettings? self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_opt_box_autoadd_timeout_settings(
      TimeoutSettings? self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_opt_box_autoadd_tls_settings(
      TlsSettings? self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_opt_box_autoadd_tls_version(
      TlsVersion? self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_opt_list_prim_u_8_strict(
      Uint8List? self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_opt_list_record_string_string(
      List<(String, String)>? self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_proxy_condition(
      ProxyCondition self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_proxy_settings(ProxySettings self, SseSerializer serializer);
  
    @protected
    void sse_encode_record_string_list_string(
      (String, List<String>) self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_record_string_string(
      (String, String) self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_redirect_settings(
      RedirectSettings self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_rhttp_error(RhttpError self, SseSerializer serializer);
  
    @protected
    void sse_encode_static_dns_settings(
      StaticDnsSettings self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_timeout_settings(
      TimeoutSettings self,
      SseSerializer serializer,
    );
  
    @protected
    void sse_encode_tls_settings(TlsSettings self, SseSerializer serializer);
  
    @protected
    void sse_encode_tls_version(TlsVersion self, SseSerializer serializer);
  
    @protected
    void sse_encode_u_16(int self, SseSerializer serializer);
  
    @protected
    void sse_encode_u_8(int self, SseSerializer serializer);
  
    @protected
    void sse_encode_unit(void self, SseSerializer serializer);
  
    @protected
    void sse_encode_usize(BigInt self, SseSerializer serializer);
  }
  
  // Section: wire_class
  
  class RustLibWire implements BaseWire {
    RustLibWire.fromExternalLibrary(ExternalLibrary lib);
  
    void
    rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerCancellationToken(
      int ptr,
    ) => wasmModule
        .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerCancellationToken(
          ptr,
        );
  
    void
    rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerCancellationToken(
      int ptr,
    ) => wasmModule
        .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerCancellationToken(
          ptr,
        );
  
    void
    rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDnsSettings(
      int ptr,
    ) => wasmModule
        .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDnsSettings(
          ptr,
        );
  
    void
    rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDnsSettings(
      int ptr,
    ) => wasmModule
        .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDnsSettings(
          ptr,
        );
  
    void
    rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient(
      int ptr,
    ) => wasmModule
        .rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient(
          ptr,
        );
  
    void
    rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient(
      int ptr,
    ) => wasmModule
        .rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient(
          ptr,
        );
  }
  
  @JS('wasm_bindgen')
  external RustLibWasmModule get wasmModule;
  
  @JS()
  @anonymous
  extension type RustLibWasmModule._(JSObject _) implements JSObject {
    external void
    rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerCancellationToken(
      int ptr,
    );
  
    external void
    rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerCancellationToken(
      int ptr,
    );
  
    external void
    rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDnsSettings(
      int ptr,
    );
  
    external void
    rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerDnsSettings(
      int ptr,
    );
  
    external void
    rust_arc_increment_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient(
      int ptr,
    );
  
    external void
    rust_arc_decrement_strong_count_RustOpaque_flutter_rust_bridgefor_generatedRustAutoOpaqueInnerRequestClient(
      int ptr,
    );
  }
  