This library provides access to GCE metadata service
.
Example
use Client;
async
This library provides access to GCE metadata service
.
use gcemeta::Client;
async fn example() {
let client = Client::new();
println!("on gce = {:?}", client.on_gce().await);
println!("project id = {:?}", client.project_id().await);
}