[][src]Enum zipkin::Kind

pub enum Kind {
    Client,
    Server,
    Producer,
    Consumer,
    // some variants omitted
}

The "kind" of a span.

This has an impact on the relationship between the span's timestamp, duration, and local endpoint.

Variants

Client

The client side of an RPC.

  • Timestamp - The moment a request was sent (formerly "cs")
  • Duration - When present, indicates when a response was received (formerly "cr")
  • Remote Endpoint - Represents the server.
Server

The server side of an RPC.

  • Timestamp - The moment a request was received (formerly "sr")
  • Duration - When present, indicates when a response was received (formerly "ss")
  • Remote Endpoint - Represents the client.
Producer

A message sent to a message broker.

  • Timestamp - The moment a message was sent to a destination (formerly "ms")
  • Duration - When present, represents the delay sending the message, such as batching.
  • Remote Endpoint - Represents the broker.
Consumer

A message received from a message broker.

  • Timestamp - The moment a message was received from an origin (formerly "mr")
  • Duration - When present, represents the delay consuming the message, such as from a backlog.
  • Remote Endpoint - Represents the broker.

Trait Implementations

impl Copy for Kind
[src]

impl Clone for Kind
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Kind
[src]

Auto Trait Implementations

impl Send for Kind

impl Sync for Kind

Blanket Implementations

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

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

type Owned = T

impl<T> From for T
[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> UnsafeAny for T where
    T: Any