Trait wasmbus_rpc::core::Actor [−][src]
pub trait Actor { fn health_request<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
arg: &'life2 HealthCheckRequest
) -> Pin<Box<dyn Future<Output = RpcResult<HealthCheckResponse>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait; }
Expand description
Actor service wasmbus.actorReceive
Required methods
fn health_request<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
arg: &'life2 HealthCheckRequest
) -> Pin<Box<dyn Future<Output = RpcResult<HealthCheckResponse>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn health_request<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
ctx: &'life1 Context,
arg: &'life2 HealthCheckRequest
) -> Pin<Box<dyn Future<Output = RpcResult<HealthCheckResponse>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Perform health check. Called at regular intervals by host