Struct gapi_grpc::google::devtools::cloudtrace::v1::trace_service_client::TraceServiceClient[][src]

pub struct TraceServiceClient<T> { /* fields omitted */ }

This file describes an API for collecting and viewing traces and spans within a trace. A Trace is a collection of spans corresponding to a single operation or set of operations for an application. A span is an individual timed event which forms a node of the trace tree. Spans for a single trace may span multiple services.

Implementations

impl TraceServiceClient<Channel>[src]

pub async fn connect<D>(dst: D) -> Result<Self, Error> where
    D: TryInto<Endpoint>,
    D::Error: Into<StdError>, 
[src]

Attempt to create a new client by connecting to a given endpoint.

impl<T> TraceServiceClient<T> where
    T: GrpcService<BoxBody>,
    T::ResponseBody: Body + HttpBody + Send + 'static,
    T::Error: Into<StdError>,
    <T::ResponseBody as HttpBody>::Error: Into<StdError> + Send
[src]

pub fn new(inner: T) -> Self[src]

pub fn with_interceptor(inner: T, interceptor: impl Into<Interceptor>) -> Self[src]

pub async fn list_traces(
    &mut self,
    request: impl IntoRequest<ListTracesRequest>
) -> Result<Response<ListTracesResponse>, Status>
[src]

Returns of a list of traces that match the specified filter conditions.

pub async fn get_trace(
    &mut self,
    request: impl IntoRequest<GetTraceRequest>
) -> Result<Response<Trace>, Status>
[src]

Gets a single trace by its ID.

pub async fn patch_traces(
    &mut self,
    request: impl IntoRequest<PatchTracesRequest>
) -> Result<Response<()>, Status>
[src]

Sends new traces to Stackdriver Trace or updates existing traces. If the ID of a trace that you send matches that of an existing trace, any fields in the existing trace and its spans are overwritten by the provided values, and any new fields provided are merged with the existing trace data. If the ID does not match, a new trace is created.

Trait Implementations

impl<T: Clone> Clone for TraceServiceClient<T>[src]

impl<T> Debug for TraceServiceClient<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for TraceServiceClient<T>

impl<T> Send for TraceServiceClient<T> where
    T: Send

impl<T> Sync for TraceServiceClient<T> where
    T: Sync

impl<T> Unpin for TraceServiceClient<T> where
    T: Unpin

impl<T> !UnwindSafe for TraceServiceClient<T>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]