rc try_unwrap https://docs.rs/rc/latest/rc/fn.try_unwrap.html?search=try_unwrap unwraps the contained value if the Rc<T> is unique. otherwise, Err is returned with the same Rc<T>