error[E0195]: lifetime parameters or bounds on method `fetch` do not match the trait declaration
--> lines/src/client.rs:54:19
|
22 | async fn fetch(&self) -> Result<DataStruct, TflError>;
| ----- ------------ lifetimes in impl do not match this method in trait
| |
| this bound might be missing in the impl
...
54 | async fn fetch(&self) -> Result<DataStruct, TflError> {
| ^ lifetimes do not match method in trait
Perhaps I do not understand something. Apologies if this is obvious.
Using an impl like this, where
DataStruct
uses the enum_dispatch crate.I get the following error.
Perhaps I do not understand something. Apologies if this is obvious.