pub trait Probe:
Send
+ Sync
+ 'static {
// Required methods
fn test_code<'life0, 'async_trait>(
&'life0 self,
request: Request<CodeReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<CodeReply>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn test_req<'life0, 'async_trait>(
&'life0 self,
request: Request<ProbeReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProbeReply>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn test_stream<'life0, 'async_trait>(
&'life0 self,
request: Request<ProbeStreamReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProbeStreamReply>, Status>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn test_sub<'life0, 'async_trait>(
&'life0 self,
request: Request<ProbeSubReq>,
) -> Pin<Box<dyn Future<Output = Result<Response<ProbeSubReply>, 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 ProbeServer.