#How to Achieve type erasure of Swift's 'Any' in rust?

2 messages · Page 1 of 1 (latest)

gritty aspen
#

Hello, i want to mock the behavior of RxSwift's 'AnyCancellable' with tokio::Joinhandle. but Joinhandle is generic over its type T. i want to erase it. is this something you can achieve in rust?

lethal canyon