pub trait ArcExt<T> { // Required method fn take(self) -> T; }
Extra methods for Arc.
Arc
Takes the inner value if there is exactly one strong reference and clones it otherwise.