Rust No-mutable-in-the-middle Resources