pub trait RobonixPrimitiveHealthStream:
Send
+ Sync
+ 'static {
type StreamHealthStateStream: Stream<Item = Result<HealthState, Status>> + Send + 'static;
// Required method
fn stream_health_state<'life0, 'async_trait>(
&'life0 self,
request: Request<StreamHealthStateRequest>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::StreamHealthStateStream>, 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 RobonixPrimitiveHealthStreamServer.
Required Associated Types§
Sourcetype StreamHealthStateStream: Stream<Item = Result<HealthState, Status>> + Send + 'static
type StreamHealthStateStream: Stream<Item = Result<HealthState, Status>> + Send + 'static
Server streaming response type for the StreamHealthState method.