Trait harmony_rust_sdk::api::voice::v1::voice_service_server::VoiceService[][src]

pub trait VoiceService: Send + Sync + 'static {
    type Error: CustomError + Send + Sync + 'static;

    const SOCKET_PING_PERIOD: u64;
    const SOCKET_PING_DATA: [u8; 32];

#[must_use]    fn connect<'life0, 'async_trait>(
        &'life0 self,
        request: Request<ConnectRequest>
    ) -> Pin<Box<dyn Future<Output = Result<ConnectResponse, Self::Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn stream_state<'life0, 'life1, 'async_trait>(
        &'life0 self,
        validation_request: &'life1 Request<StreamStateRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Option<Signal>, Self::Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }

Generated trait containing hRPC methods that should be implemented for use with VoiceServiceServer.

Associated Types

type Error: CustomError + Send + Sync + 'static[src]

Loading content...

Associated Constants

Loading content...

Required methods

#[must_use]fn connect<'life0, 'async_trait>(
    &'life0 self,
    request: Request<ConnectRequest>
) -> Pin<Box<dyn Future<Output = Result<ConnectResponse, Self::Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

#[must_use]fn stream_state<'life0, 'life1, 'async_trait>(
    &'life0 self,
    validation_request: &'life1 Request<StreamStateRequest>
) -> Pin<Box<dyn Future<Output = Result<Option<Signal>, Self::Error>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 
[src]

Loading content...

Implementors

Loading content...