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§
- A Client to access metadata service.
Enums§
- Represents errors that can occur during handling metadata service.
Type Aliases§
- Wrapper for the
Result
type with anError
.