You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i am trying to clone Subxt Api, I am getting this error :-
error[E0599]: no method named `clone` found for struct `RuntimeApi` in the current scope
--> enclave/src/relayer/mod.rs:219:24
|
22 | #[subxt::subxt(runtime_metadata_path = "metadata.scale")]
| --------------------------------------------------------- method `clone` not found for this
...
219 | let api1 = api.clone();
| ^^^^^ method not found in `RuntimeApi<DefaultConfig>`
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `clone`, perhaps you need to implement it:
candidate #1: `Clone`
Is there any other way, I can share it with other modules?
The text was updated successfully, but these errors were encountered:
When i am trying to clone Subxt Api, I am getting this error :-
Is there any other way, I can share it with other modules?
The text was updated successfully, but these errors were encountered: