Is your feature request related to a problem? Please describe.
My collector implementation includes a global map to record the indicators that have been collected, so that conflicting indicators can be eliminated when the collect function is executed. But the self parameter of the collect function is immutable, I cannot change the map.
Describe the solution you'd like
Maybe you can change &self to &mut self? I don't know if this will have a big impact on the whole project.
Is your feature request related to a problem? Please describe.
My collector implementation includes a global map to record the indicators that have been collected, so that conflicting indicators can be eliminated when the
collect
function is executed. But the self parameter of thecollect
function is immutable, I cannot change the map.Describe the solution you'd like Maybe you can change &self to &mut self? I don't know if this will have a big impact on the whole project.
Describe alternatives you've considered
Additional context