pub async fn get_current_subnet_pid() -> Result<Option<Principal>, Error>
Queries the NNS registry for the subnet that this canister belongs to.