Copy as Markdown

Other Tools

// This file was autogenerated by some hot garbage in the `uniffi` crate.
// Trust me, you don't want to mess with it!
::uniffi::setup_scaffolding!("errorsupport");
/// Export info about the UDL while used to create us
/// See `uniffi_bindgen::macro_metadata` for how this is used.
// ditto for info about the UDL which spawned us.
const UNIFFI_META_CONST_UDL_ERRORSUPPORT: ::uniffi::MetadataBuffer = ::uniffi::MetadataBuffer::from_code(::uniffi::metadata::codes::UDL_FILE)
.concat_str("error_support")
.concat_str("errorsupport")
.concat_str("errorsupport");
#[doc(hidden)]
#[no_mangle]
pub static UNIFFI_META_UDL_ERRORSUPPORT: [u8; UNIFFI_META_CONST_UDL_ERRORSUPPORT.size] = UNIFFI_META_CONST_UDL_ERRORSUPPORT.into_array();
// Record definitions, implemented as method-less structs, corresponding to `dictionary` objects.
// Top level functions, corresponding to UDL `namespace` functions.
#[::uniffi::export_for_udl]
pub fn r#set_application_error_reporter(
r#error_reporter: Box<dyn r#ApplicationErrorReporter>,
)
{
unreachable!()
}
#[::uniffi::export_for_udl]
pub fn r#unset_application_error_reporter(
)
{
unreachable!()
}
// Object definitions, corresponding to UDL `interface` definitions.
// Callback Interface definitions, corresponding to UDL `callback interface` definitions.
#[::uniffi::export_for_udl(callback_interface)]
pub trait r#ApplicationErrorReporter {
fn r#report_error(
&self,
r#type_name: String,
r#message: String,
);
fn r#report_breadcrumb(
&self,
r#message: String,
r#module: String,
r#line: u32,
r#column: u32,
);
}
// External and Wrapped types
// Support for external types.
// Types with an external `FfiConverter`...
// We generate support for each Custom Type and the builtin type it uses.
// Export scaffolding checksums for UDL items
#[no_mangle]
#[doc(hidden)]
pub extern "C" fn r#uniffi_error_support_checksum_func_set_application_error_reporter() -> u16 {
33757
}
#[no_mangle]
#[doc(hidden)]
pub extern "C" fn r#uniffi_error_support_checksum_func_unset_application_error_reporter() -> u16 {
11689
}
#[no_mangle]
#[doc(hidden)]
pub extern "C" fn r#uniffi_error_support_checksum_method_applicationerrorreporter_report_error() -> u16 {
40350
}
#[no_mangle]
#[doc(hidden)]
pub extern "C" fn r#uniffi_error_support_checksum_method_applicationerrorreporter_report_breadcrumb() -> u16 {
34686
}