pub trait RuntimeServiceService: Send + Sync {
// Required methods
fn get_info(
&self,
ctx: RpcCallContext,
request: Empty,
) -> RuntimeServiceGetInfoFuture<'_>;
fn list_capabilities(
&self,
ctx: RpcCallContext,
request: Empty,
) -> RuntimeServiceListCapabilitiesFuture<'_>;
fn dispose_resources(
&self,
ctx: RpcCallContext,
request: Empty,
) -> RuntimeServiceDisposeResourcesFuture<'_>;
}Required Methods§
fn get_info( &self, ctx: RpcCallContext, request: Empty, ) -> RuntimeServiceGetInfoFuture<'_>
fn list_capabilities( &self, ctx: RpcCallContext, request: Empty, ) -> RuntimeServiceListCapabilitiesFuture<'_>
fn dispose_resources( &self, ctx: RpcCallContext, request: Empty, ) -> RuntimeServiceDisposeResourcesFuture<'_>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".