Skip to main content

RobonixSystemLiaisonVoice

Trait RobonixSystemLiaisonVoice 

Source
pub trait RobonixSystemLiaisonVoice:
    Send
    + Sync
    + 'static {
    type StartVoiceSessionStream: Stream<Item = Result<VoiceEvent, Status>> + Send + 'static;

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

Required Associated Types§

Source

type StartVoiceSessionStream: Stream<Item = Result<VoiceEvent, Status>> + Send + 'static

Server streaming response type for the StartVoiceSession method.

Required Methods§

Source

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

Implementors§