pub trait RobonixSystemChronosReferenceTime:
Send
+ Sync
+ 'static {
type ReferenceTimeStream: Stream<Item = Result<ReferenceQuality, Status>> + Send + 'static;
// Required method
fn reference_time<'life0, 'async_trait>(
&'life0 self,
request: Request<()>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::ReferenceTimeStream>, 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 RobonixSystemChronosReferenceTimeServer.
Required Associated Types§
Sourcetype ReferenceTimeStream: Stream<Item = Result<ReferenceQuality, Status>> + Send + 'static
type ReferenceTimeStream: Stream<Item = Result<ReferenceQuality, Status>> + Send + 'static
Server streaming response type for the ReferenceTime method.
Required Methods§
fn reference_time<'life0, 'async_trait>(
&'life0 self,
request: Request<()>,
) -> Pin<Box<dyn Future<Output = Result<Response<Self::ReferenceTimeStream>, Status>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".