Better API for getting circuit paths
This branch refactors circuit path storage as described in #787 (closed) so that we can return an Arc<Path>
rather than having to do a deep copy over all our path elements every time we inspect a circuit.
I've tried to model the naming for the mutable structure after a similar member in Channel
. Rather than removing the old path
method, I've deprecated it and added a path_ref()
instead: I suspect that path
is in use by others.
Closes #787 (closed)