Skip to main content

RobonixServiceMapPose

Trait RobonixServiceMapPose 

Source
pub trait RobonixServiceMapPose:
    Send
    + Sync
    + 'static {
    type PoseStream: Stream<Item = Result<PoseWithCovarianceStamped, Status>> + Send + 'static;

    // Required method
    fn pose<'life0, 'async_trait>(
        &'life0 self,
        request: Request<()>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<Self::PoseStream>, 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 RobonixServiceMapPoseServer.

Required Associated Types§

Source

type PoseStream: Stream<Item = Result<PoseWithCovarianceStamped, Status>> + Send + 'static

Server streaming response type for the Pose method.

Required Methods§

Source

fn pose<'life0, 'async_trait>( &'life0 self, request: Request<()>, ) -> Pin<Box<dyn Future<Output = Result<Response<Self::PoseStream>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§