Rust Publish-subscribe-pattern Resources