Rust Sliding-window Resources