pub struct EndpointManagerSynchronousProxy { /* private fields */ }
Implementations§
source§impl EndpointManagerSynchronousProxy
impl EndpointManagerSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
sourcepub fn wait_for_event(
&self,
deadline: Time
) -> Result<EndpointManagerEvent, Error>
pub fn wait_for_event( &self, deadline: Time ) -> Result<EndpointManagerEvent, Error>
Waits until an event arrives and returns it. It is safe for other threads to make concurrent requests while waiting for an event.
sourcepub fn list_endpoints(&self, ___deadline: Time) -> Result<Vec<String>, Error>
pub fn list_endpoints(&self, ___deadline: Time) -> Result<Vec<String>, Error>
Lists endpoints by name.
sourcepub fn create_endpoint(
&self,
name: &str,
config: &mut EndpointConfig,
___deadline: Time
) -> Result<(i32, Option<ClientEnd<EndpointMarker>>), Error>
pub fn create_endpoint( &self, name: &str, config: &mut EndpointConfig, ___deadline: Time ) -> Result<(i32, Option<ClientEnd<EndpointMarker>>), Error>
Creates endpoint with given name and config.
sourcepub fn get_endpoint(
&self,
name: &str,
___deadline: Time
) -> Result<Option<ClientEnd<EndpointMarker>>, Error>
pub fn get_endpoint( &self, name: &str, ___deadline: Time ) -> Result<Option<ClientEnd<EndpointMarker>>, Error>
Gets a handle to an endpoint.