Alternative API for set_isolation_group().
Instead of requiring a Box<dyn Isolation>
, it now takes either a
Box<dyn Isolation>
, or an arbitrary T
that implements
Isolation
.
This API still allows the user to pass in a Box<dyn Isolation>
if
that's what they have, but it doesn't require them to Box the
isolation on their own.
Part of #414 (closed).