Is it possible to do something like this?
SendEventError(ref err as &Debug) | SerialisationError(ref err as &Debug) => err.fmt(f),
i.e. I have an enum wrapping multiple types, each implementing
Debug, and I’d like an easy way of matching and printing a bunch of them like this. (I can’t
derive(Debug) either because I want to customise some entries.)