pub trait GuppyController: Send + Sync + 'static {
    // Required methods
    fn set_gripper<'life0, 'async_trait>(
        &'life0 self,
        request: Request<SetGripperRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<SetGripperResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn move_to<'life0, 'async_trait>(
        &'life0 self,
        request: Request<MoveToCommand>
    ) -> Pin<Box<dyn Future<Output = Result<Response<ArmPositions>, 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 GuppyControllerServer.

Required Methods§

source

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

source

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

Implementors§