Add Managed::merge(first: Managed<M>, second: Managed<N>) -> Managed<T>.
Then use this in the envelope function of the minidump and playstation endpoints instead of reject2 and accept. The idea is to use merge to do:
Managed<(DataCategory, usize)>, Managed<Item> -> Managed<(DataCategory, usize), Item>
and then map (without having to modify the records manually) to do:
Managed<(DataCategory, usize), Item> -> Managed<Box<Envelope>>
Add
Managed::merge(first: Managed<M>, second: Managed<N>) -> Managed<T>.Then use this in the
envelopefunction of the minidump and playstation endpoints instead ofreject2andaccept. The idea is to use merge to do:and then map (without having to modify the records manually) to do: