If I have a ScalableCuckooFilter into which I can insert &str's it makes the type of my filter ScalableCuckooFilter<str> which can then not be cloned. I'm not exactly sure how to fix this, but it seems like a type system issue since the filter doesn't actually take ownership of the str data.
I wonder if Clone cloud be manually implemented for ScalableCuckooFilter or if there's a different way to express the type of the input data.
If I have a
ScalableCuckooFilter
into which I can insert&str
's it makes the type of my filterScalableCuckooFilter<str>
which can then not be cloned. I'm not exactly sure how to fix this, but it seems like a type system issue since the filter doesn't actually take ownership of thestr
data.I wonder if
Clone
cloud be manually implemented forScalableCuckooFilter
or if there's a different way to express the type of the input data.