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.
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.
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.
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.
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.
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id)
this method will likely be replaced by an associated static
🔬 This is a nightly-only experimental API. (try_from)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from)
Mutably borrows from an owned value. Read more
impl<T> UnsafeAny for T where T: Any, | |