Trait jokolink::mlp::mumble_service_server::MumbleService [−][src]
pub trait MumbleService: Send + Sync + 'static { fn get_mumble_link<'life0, 'async_trait>(
&'life0 self,
request: Request<MumbleLinkRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<MumbleLinkResponse>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; fn get_raw_link<'life0, 'async_trait>(
&'life0 self,
request: Request<MumbleLinkRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<RawLink>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; fn get_window_dimensions<'life0, 'async_trait>(
&'life0 self,
request: Request<MumbleLinkRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<WindowDimensionsResponse>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; fn test_call<'life0, 'async_trait>(
&'life0 self,
request: Request<Empty>
) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; fn test_echo<'life0, 'async_trait>(
&'life0 self,
request: Request<MumbleLinkRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<MumbleLinkRequest>, Status>> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; }
Expand description
Generated trait containing gRPC methods that should be implemented for use with MumbleServiceServer.
Required methods
fn get_mumble_link<'life0, 'async_trait>(
&'life0 self,
request: Request<MumbleLinkRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<MumbleLinkResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_raw_link<'life0, 'async_trait>(
&'life0 self,
request: Request<MumbleLinkRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<RawLink>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_window_dimensions<'life0, 'async_trait>(
&'life0 self,
request: Request<MumbleLinkRequest>
) -> Pin<Box<dyn Future<Output = Result<Response<WindowDimensionsResponse>, Status>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,