Expand description
This library provides access to GCE metadata service
.
§Example
use gcemeta::Client;
async fn example() {
let client = Client::new();
println!("on gce = {:?}", client.on_gce().await);
println!("project id = {:?}", client.project_id().await);
}
Structs§
- Client
- A Client to access metadata service.
Enums§
- Error
- Represents errors that can occur during handling metadata service.