Closed
Description
Hi,
The thread below illustrates a use case where a third party Device structure can have borrowed data with its own lifetimes. And this makes it impossible to implement the Device trait for such a structure. Also it need not be a reference to the packet itself as mentioned in the thread below, basically a third party device structure cannot have any kind of references :(
https://users.rust-lang.org/t/implementing-a-trait-for-all-lifetimes-of-the-struct/45045
I cant see why the Device trait is mentioned as "for all lifetimes", can anything be done to support this pls ?
Rgds,
Gopa.
Metadata
Metadata
Assignees
Labels
No labels