pub struct RuntimeServiceClient { /* private fields */ }Implementations§
Source§impl RuntimeServiceClient
impl RuntimeServiceClient
pub fn instance_id(&self) -> InstanceId
pub fn for_instance(client: RpcClient, instance_id: InstanceId) -> Self
pub async fn resolve_named( client: RpcClient, name: impl Into<String>, ) -> Result<Self, RuntimeError>
pub async fn get_info( &self, request: &Empty, ) -> Result<RuntimeInfo, RuntimeError>
pub async fn list_capabilities( &self, request: &Empty, ) -> Result<Vec<String>, RuntimeError>
pub async fn dispose_resources( &self, request: &Empty, ) -> Result<Empty, RuntimeError>
Trait Implementations§
Source§impl Clone for RuntimeServiceClient
impl Clone for RuntimeServiceClient
Source§fn clone(&self) -> RuntimeServiceClient
fn clone(&self) -> RuntimeServiceClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for RuntimeServiceClient
impl !UnwindSafe for RuntimeServiceClient
impl Freeze for RuntimeServiceClient
impl Send for RuntimeServiceClient
impl Sync for RuntimeServiceClient
impl Unpin for RuntimeServiceClient
impl UnsafeUnpin for RuntimeServiceClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more