whichever 0.5.2

Implements a trait for an enum by forwarding to whichever variant it holds
Documentation
error[E0277]: the trait bound `B: Value` is not satisfied
  --> tests/ui/missing_impl.rs:18:7
   |
18 |     B(B),
   |       ^ unsatisfied trait bound
   |
help: the trait `Value` is not implemented for `B`
  --> tests/ui/missing_impl.rs:7:1
   |
 7 | struct B;
   | ^^^^^^^^
help: the following other types implement trait `Value`
  --> tests/ui/missing_impl.rs:9:1
   |
 9 | impl Value for A {
   | ^^^^^^^^^^^^^^^^ `A`
...
16 | enum Kind {
   |      ^^^^ `Kind`