Rust Borrow-checker Resources