Struct flutter_rust_bridge::SyncReturn
source ·
[−]pub struct SyncReturn<T>(pub T);
Expand description
Use this struct in return type of your function, in order to tell the code generator the function should return synchronously. Otherwise, it is by default asynchronously.
Tuple Fields
0: T