pub trait Tap:
Send
+ Sync
+ 'static {
type ObserveStream: Stream<Item = Result<TapEvent, Status>> + Send + 'static;
// Required method
fn observe<'life0, 'async_trait>(
&'life0 self,
request: Request<ObserveRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::ObserveStream>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Generated trait containing gRPC methods that should be implemented for use with TapServer.