transport_profile.rs (300B)
1 //! Selects local-only behavior without constructing or probing a transport. 2 3 use radroots_sdk::transport::Profile; 4 5 fn main() { 6 let profile = Profile::local_only(); 7 8 assert!(profile.is_local_only()); 9 assert!(profile.targets().is_none()); 10 assert!(profile.satisfaction().is_none()); 11 }