Skip to main content

RobonixPrimitiveHandStateJoint

Trait RobonixPrimitiveHandStateJoint 

Source
pub trait RobonixPrimitiveHandStateJoint:
    Send
    + Sync
    + 'static {
    type StateJointStream: Stream<Item = Result<JointState, Status>> + Send + 'static;

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

Required Associated Types§

Source

type StateJointStream: Stream<Item = Result<JointState, Status>> + Send + 'static

Server streaming response type for the StateJoint method.

Required Methods§

Source

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

Implementors§