Closed 107295472 closed 3 weeks ago
Hi, could you please check your ResMsg
type? For example, if it is not of lifetime static, then it will not work, because stream items needs to live arbitrarily long.
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct ResMsg<'a> {
pub percentage: f32,
pub count: i32,
pub message: &'a str,
pub code: i32,
}
Happy to see it is solved (closed)!
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new issue.
this error originates in the macro
$crate::frb_generated_stream_sink
which comes from the expansion of the macroflutter_rust_bridge::frb_generated_boilerplate
(in Nightly builds, run with -Z macro-backtrace for more info)