pub struct ProviderSynchronousProxy { /* private fields */ }
Implementations§
source§impl ProviderSynchronousProxy
impl ProviderSynchronousProxy
pub fn new(channel: Channel) -> Self
pub fn into_channel(self) -> Channel
sourcepub fn wait_for_event(&self, deadline: Time) -> Result<ProviderEvent, Error>
pub fn wait_for_event(&self, deadline: Time) -> Result<ProviderEvent, 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 get_current(&self, ___deadline: Time) -> Result<String, Error>
pub fn get_current(&self, ___deadline: Time) -> Result<String, Error>
Retrieve the currently active update channel.
- response
channel
the currently active update channel.