Skip to main content

Module client

Module client 

Source
Expand description

§Example

async fn sample(
) -> anyhow::Result<()> {
    let client = TraceService::builder().build().await?;
    client.batch_write_spans()
        /* set fields */
        .send().await?;
    Ok(())
}

Concrete implementations of this client library traits.

Structs§

TraceService
Implements a client for the Cloud Trace API.