I used the wrong type for this field in https://github.com/shotover/shotover-proxy/pull/1703 and didnt realize until I went to use it.
Calling clone on a box will clone the contents of the box as well which is not what we want.
What we want is an Arc, which will not clone its contents and instead share the contents between all its clones via reference counting.
I used the wrong type for this field in https://github.com/shotover/shotover-proxy/pull/1703 and didnt realize until I went to use it. Calling clone on a box will clone the contents of the box as well which is not what we want. What we want is an Arc, which will not clone its contents and instead share the contents between all its clones via reference counting.