pub trait Tap: Send + Sync + 'static {
    type ObserveStream: Stream<Item = Result<TapEvent, Status>> + Send + 'static;

    fn observe<'life0, 'async_trait>(
        &'life0 self,
        request: Request<ObserveRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<Self::ObserveStream>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

Generated trait containing gRPC methods that should be implemented for use with TapServer.

Required Associated Types

Server streaming response type for the Observe method.

Required Methods

Implementors