pub struct RpcClientUDiscovery { /* private fields */ }
Expand description
A UDiscovery
client implementation for invoking operations of a local uDiscovery service.
The client requires an RpcClient
for performing the remote procedure calls.
Implementations§
Trait Implementations§
Source§impl UDiscovery for RpcClientUDiscovery
impl UDiscovery for RpcClientUDiscovery
Source§fn find_services<'life0, 'async_trait>(
&'life0 self,
uri_pattern: UUri,
recursive: bool,
) -> Pin<Box<dyn Future<Output = Result<Vec<UUri>, UStatus>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn find_services<'life0, 'async_trait>(
&'life0 self,
uri_pattern: UUri,
recursive: bool,
) -> Pin<Box<dyn Future<Output = Result<Vec<UUri>, UStatus>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Finds service instances based on search criteria. Read more
Source§fn get_service_topics<'life0, 'async_trait>(
&'life0 self,
topic_pattern: UUri,
recursive: bool,
) -> Pin<Box<dyn Future<Output = Result<Vec<ServiceTopicInfo>, UStatus>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_service_topics<'life0, 'async_trait>(
&'life0 self,
topic_pattern: UUri,
recursive: bool,
) -> Pin<Box<dyn Future<Output = Result<Vec<ServiceTopicInfo>, UStatus>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Gets information about topic(s) that a service (instance) publishes messages to. Read more
Auto Trait Implementations§
impl Freeze for RpcClientUDiscovery
impl !RefUnwindSafe for RpcClientUDiscovery
impl Send for RpcClientUDiscovery
impl Sync for RpcClientUDiscovery
impl Unpin for RpcClientUDiscovery
impl !UnwindSafe for RpcClientUDiscovery
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