Rust Constant-time Resources