Since key_trans is Fn, in the majority of use cases it'll be Send + Sync.
Adding these bounds marks Corpus as thread-safe, allowing shared concurrent access (there's no interior mutability in Corpus or any of its fields AFAIK) and sending the struct between threads.
Since
key_trans
isFn
, in the majority of use cases it'll beSend + Sync
.Adding these bounds marks
Corpus
as thread-safe, allowing shared concurrent access (there's no interior mutability inCorpus
or any of its fields AFAIK) and sending the struct between threads.