logo
pub trait JaegerTraceRuntime: TraceRuntime + Debug {
    type Socket: Debug + Send + Sync;

    fn create_socket<T: ToSocketAddrs>(
        &self,
        endpoint: T
    ) -> Result<Self::Socket>; fn write_to_socket<'life0, 'life1, 'async_trait>(
        &'life0 self,
        socket: &'life1 Self::Socket,
        payload: Vec<u8>
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
   where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }
Expand description

Jaeger Trace Runtime is an extension to TraceRuntime.

Required Associated Types

A communication socket between Jaeger client and agent.

Required Methods

Create a new communication socket.

Send payload over the socket.

Implementations on Foreign Types

Implementors