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: &EndpointConfig,
___deadline: Time
) -> Result<(i32, Option<ClientEnd<EndpointMarker>>), Error>
pub fn create_endpoint( &self, name: &str, config: &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.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for EndpointManagerSynchronousProxy
impl Send for EndpointManagerSynchronousProxy
impl Sync for EndpointManagerSynchronousProxy
impl Unpin for EndpointManagerSynchronousProxy
impl UnwindSafe for EndpointManagerSynchronousProxy
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