mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-06-28 04:24:45 +08:00
bump: flutter_rust_bridge 2.0.0-dev.38
This commit is contained in:
@ -1,11 +1,11 @@
|
||||
// This file is automatically generated, so please do not edit it.
|
||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.37.
|
||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.38.
|
||||
|
||||
// Section: imports
|
||||
|
||||
use super::*;
|
||||
use flutter_rust_bridge::for_generated::byteorder::{NativeEndian, ReadBytesExt, WriteBytesExt};
|
||||
use flutter_rust_bridge::for_generated::transform_result_dco;
|
||||
use flutter_rust_bridge::for_generated::{transform_result_dco, Lockable};
|
||||
use flutter_rust_bridge::{Handler, IntoIntoDart};
|
||||
|
||||
// Section: boilerplate
|
||||
|
@ -1,5 +1,5 @@
|
||||
// This file is automatically generated, so please do not edit it.
|
||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.37.
|
||||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.38.
|
||||
|
||||
#![allow(
|
||||
non_camel_case_types,
|
||||
@ -22,7 +22,7 @@
|
||||
// Section: imports
|
||||
|
||||
use flutter_rust_bridge::for_generated::byteorder::{NativeEndian, ReadBytesExt, WriteBytesExt};
|
||||
use flutter_rust_bridge::for_generated::transform_result_dco;
|
||||
use flutter_rust_bridge::for_generated::{transform_result_dco, Lockable};
|
||||
use flutter_rust_bridge::{Handler, IntoIntoDart};
|
||||
|
||||
// Section: boilerplate
|
||||
@ -32,7 +32,7 @@ flutter_rust_bridge::frb_generated_boilerplate!(
|
||||
default_rust_opaque = RustOpaqueNom,
|
||||
default_rust_auto_opaque = RustAutoOpaqueNom,
|
||||
);
|
||||
pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.0.0-dev.37";
|
||||
pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_VERSION: &str = "2.0.0-dev.38";
|
||||
pub(crate) const FLUTTER_RUST_BRIDGE_CODEGEN_CONTENT_HASH: i32 = 1832496273;
|
||||
|
||||
// Section: executor
|
||||
@ -187,7 +187,9 @@ fn wire__crate__api__http_api__set_default_header_impl(
|
||||
let api_headers = headers.cst_decode();
|
||||
move |context| {
|
||||
transform_result_dco((move || {
|
||||
Result::<_, ()>::Ok(crate::api::http_api::set_default_header(api_headers))
|
||||
Result::<_, ()>::Ok({
|
||||
crate::api::http_api::set_default_header(api_headers);
|
||||
})
|
||||
})())
|
||||
}
|
||||
},
|
||||
@ -219,15 +221,15 @@ fn wire__crate__api__rs_process__start_impl(
|
||||
move |context| async move {
|
||||
transform_result_dco(
|
||||
(move || async move {
|
||||
Result::<_, ()>::Ok(
|
||||
Result::<_, ()>::Ok({
|
||||
crate::api::rs_process::start(
|
||||
&api_executable,
|
||||
api_arguments,
|
||||
&api_working_directory,
|
||||
api_stream_sink,
|
||||
)
|
||||
.await,
|
||||
)
|
||||
.await;
|
||||
})
|
||||
})()
|
||||
.await,
|
||||
)
|
||||
@ -252,9 +254,9 @@ fn wire__crate__api__rs_process__write_impl(
|
||||
move |context| async move {
|
||||
transform_result_dco(
|
||||
(move || async move {
|
||||
Result::<_, ()>::Ok(
|
||||
crate::api::rs_process::write(&api_rs_pid, api_data).await,
|
||||
)
|
||||
Result::<_, ()>::Ok({
|
||||
crate::api::rs_process::write(&api_rs_pid, api_data).await;
|
||||
})
|
||||
})()
|
||||
.await,
|
||||
)
|
||||
@ -705,6 +707,7 @@ impl flutter_rust_bridge::IntoDart for crate::http_package::MyHttpVersion {
|
||||
Self::HTTP_2 => 3.into_dart(),
|
||||
Self::HTTP_3 => 4.into_dart(),
|
||||
Self::HTTP_UNKNOWN => 5.into_dart(),
|
||||
_ => unreachable!(),
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -732,6 +735,7 @@ impl flutter_rust_bridge::IntoDart for crate::api::http_api::MyMethod {
|
||||
Self::Trace => 6.into_dart(),
|
||||
Self::Connect => 7.into_dart(),
|
||||
Self::Patch => 8.into_dart(),
|
||||
_ => unreachable!(),
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -775,6 +779,7 @@ impl flutter_rust_bridge::IntoDart for crate::api::rs_process::RsProcessStreamDa
|
||||
Self::Output => 0.into_dart(),
|
||||
Self::Error => 1.into_dart(),
|
||||
Self::Exit => 2.into_dart(),
|
||||
_ => unreachable!(),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user