mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-04-18 20:52:53 +00:00
150 lines
3.5 KiB
Dart
150 lines
3.5 KiB
Dart
// This file is automatically generated, so please do not edit it.
|
|
// @generated by `flutter_rust_bridge`@ 2.12.0.
|
|
|
|
// ignore_for_file: unused_import, non_constant_identifier_names
|
|
|
|
// Static analysis wrongly picks the IO variant, thus ignore this
|
|
|
|
import 'dart:async';
|
|
import 'dart:convert';
|
|
|
|
import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated_web.dart';
|
|
|
|
import 'frb_generated.dart';
|
|
import 'twonly.dart';
|
|
import 'twonly/database/contact.dart';
|
|
|
|
abstract class RustLibApiImplPlatform extends BaseApiImpl<RustLibWire> {
|
|
RustLibApiImplPlatform({
|
|
required super.handler,
|
|
required super.wire,
|
|
required super.generalizedFrbRustBinding,
|
|
required super.portManager,
|
|
});
|
|
|
|
@protected
|
|
AnyhowException dco_decode_AnyhowException(dynamic raw);
|
|
|
|
@protected
|
|
String dco_decode_String(dynamic raw);
|
|
|
|
@protected
|
|
TwonlyConfig dco_decode_box_autoadd_twonly_config(dynamic raw);
|
|
|
|
@protected
|
|
Contact dco_decode_contact(dynamic raw);
|
|
|
|
@protected
|
|
PlatformInt64 dco_decode_i_64(dynamic raw);
|
|
|
|
@protected
|
|
List<Contact> dco_decode_list_contact(dynamic raw);
|
|
|
|
@protected
|
|
Uint8List dco_decode_list_prim_u_8_strict(dynamic raw);
|
|
|
|
@protected
|
|
TwonlyConfig dco_decode_twonly_config(dynamic raw);
|
|
|
|
@protected
|
|
int dco_decode_u_8(dynamic raw);
|
|
|
|
@protected
|
|
void dco_decode_unit(dynamic raw);
|
|
|
|
@protected
|
|
AnyhowException sse_decode_AnyhowException(SseDeserializer deserializer);
|
|
|
|
@protected
|
|
String sse_decode_String(SseDeserializer deserializer);
|
|
|
|
@protected
|
|
TwonlyConfig sse_decode_box_autoadd_twonly_config(
|
|
SseDeserializer deserializer,
|
|
);
|
|
|
|
@protected
|
|
Contact sse_decode_contact(SseDeserializer deserializer);
|
|
|
|
@protected
|
|
PlatformInt64 sse_decode_i_64(SseDeserializer deserializer);
|
|
|
|
@protected
|
|
List<Contact> sse_decode_list_contact(SseDeserializer deserializer);
|
|
|
|
@protected
|
|
Uint8List sse_decode_list_prim_u_8_strict(SseDeserializer deserializer);
|
|
|
|
@protected
|
|
TwonlyConfig sse_decode_twonly_config(SseDeserializer deserializer);
|
|
|
|
@protected
|
|
int sse_decode_u_8(SseDeserializer deserializer);
|
|
|
|
@protected
|
|
void sse_decode_unit(SseDeserializer deserializer);
|
|
|
|
@protected
|
|
int sse_decode_i_32(SseDeserializer deserializer);
|
|
|
|
@protected
|
|
bool sse_decode_bool(SseDeserializer deserializer);
|
|
|
|
@protected
|
|
void sse_encode_AnyhowException(
|
|
AnyhowException self,
|
|
SseSerializer serializer,
|
|
);
|
|
|
|
@protected
|
|
void sse_encode_String(String self, SseSerializer serializer);
|
|
|
|
@protected
|
|
void sse_encode_box_autoadd_twonly_config(
|
|
TwonlyConfig self,
|
|
SseSerializer serializer,
|
|
);
|
|
|
|
@protected
|
|
void sse_encode_contact(Contact self, SseSerializer serializer);
|
|
|
|
@protected
|
|
void sse_encode_i_64(PlatformInt64 self, SseSerializer serializer);
|
|
|
|
@protected
|
|
void sse_encode_list_contact(List<Contact> self, SseSerializer serializer);
|
|
|
|
@protected
|
|
void sse_encode_list_prim_u_8_strict(
|
|
Uint8List self,
|
|
SseSerializer serializer,
|
|
);
|
|
|
|
@protected
|
|
void sse_encode_twonly_config(TwonlyConfig 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_i_32(int self, SseSerializer serializer);
|
|
|
|
@protected
|
|
void sse_encode_bool(bool self, SseSerializer serializer);
|
|
}
|
|
|
|
// Section: wire_class
|
|
|
|
class RustLibWire implements BaseWire {
|
|
RustLibWire.fromExternalLibrary();
|
|
}
|
|
|
|
@JS('wasm_bindgen')
|
|
external RustLibWasmModule get wasmModule;
|
|
|
|
@JS()
|
|
@anonymous
|
|
extension type RustLibWasmModule._(JSObject _) implements JSObject {}
|